���� ������������������������������������  fc@sqdZddlZddlZddlZddlZdadZdZdZe dkrmendS(sDPrint a list of files that are mentioned in CVS directories. Usage: cvsfiles.py [-n file] [directory] ... If the '-n file' option is given, only files under CVS that are newer than the given file are printed; by default, all files under CVS are printed. As a special case, if a file does not exist, it is always printed. iNicCsy#tjtjdd\}}Wn tjk rE}|GHtGdSXd}x/|D]'\}}|dkrSt|aqSqSW|rx%|D]}t|qWn tddS(Nisn:s-nt.( tgetopttsystargvterrort__doc__tNonetgetmtimet cutofftimetprocess(toptstargstmsgt newerfiletotatarg((s./usr/lib64/python2.7/Tools/scripts/cvsfiles.pytmains#  c CsRd}g}tj|}xo|D]g}tjj||}|dkrR|}q"tjj|r"tjj|s|j|qq"q"W|r3tjj|d}xt|jD]q}|j d}|ddkr|dr|d}tjj||}t r$t |t kr$q,|GHqqWnx|D]} t | q:WdS(NitCVStEntriest/ti( tostlistdirtpathtjointisdirtislinktappendtopent readlinestsplitRRR ( tdirtcvsdirtsubdirstnamestnametfullnametentriestetwordstsub((s./usr/lib64/python2.7/Tools/scripts/cvsfiles.pyR &s,     cCs6ytj|}Wntjk r*dSX|tjS(Ni(RtstatRtST_MTIME(tfilenametst((s./usr/lib64/python2.7/Tools/scripts/cvsfiles.pyR@s t__main__( RRRR*RRRR Rt__name__(((s./usr/lib64/python2.7/Tools/scripts/cvsfiles.pyt s