???<!-- GIF89;a -->
123123123123
.....................................................................................................................................???<!-- GIF89;a -->
123123123123
.....................................................................................................................................ó
fc           @   sq   d  Z  d d l Z d d l Z d d l Z d d l Z d a d „  Z d „  Z d „  Z e	 d k rm e ƒ  n  d S(   sD  Print 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.
iÿÿÿÿNi    c          C   s°   y# t  j  t j d d ƒ \ }  } Wn  t  j k
 rE } | GHt Gd SXd  } x/ |  D]' \ } } | d k rS t | ƒ a qS qS W| r¢ x% | D] } t | ƒ q‹ Wn
 t d ƒ d  S(   Ni   s   n:s   -nt   .(	   t   getoptt   syst   argvt   errort   __doc__t   Nonet   getmtimet
   cutofftimet   process(   t   optst   argst   msgt	   newerfilet   ot   at   arg(    (    s.   /usr/lib64/python2.7/Tools/scripts/cvsfiles.pyt   main   s    #c   
      C   sR  d } g  } t  j |  ƒ } xo | D]g } t  j j |  | ƒ } | d k rR | } q" t  j j | ƒ r" t  j j | ƒ s‰ | j | ƒ q‰ q" q" W| r3t  j j | d ƒ } xˆ t | ƒ j ƒ  D]q } | j	 d ƒ } | d d k r» | d r» | d } t  j j |  | ƒ } t
 r$t | ƒ t
 k r$q,| GHq» q» Wn  x | D] }	 t |	 ƒ q:Wd  S(   Ni    t   CVSt   Entriest   /t    i   (   t   ost   listdirt   patht   joint   isdirt   islinkt   appendt   opent	   readlinest   splitR   R   R	   (
   t   dirt   cvsdirt   subdirst   namest   namet   fullnamet   entriest   et   wordst   sub(    (    s.   /usr/lib64/python2.7/Tools/scripts/cvsfiles.pyR	   &   s,    	
c         C   s6   y t  j |  ƒ } Wn t  j k
 r* d SX| t j S(   Ni    (   R   t   statR   t   ST_MTIME(   t   filenamet   st(    (    s.   /usr/lib64/python2.7/Tools/scripts/cvsfiles.pyR   @   s
    t   __main__(
   R   R   R   R*   R   R   R   R	   R   t   __name__(    (    (    s.   /usr/lib64/python2.7/Tools/scripts/cvsfiles.pyt   <module>   s   			