Edit file File name : cvslib.pyo Content :� ��^c @ s� d Z d d l Z d d l Z d d l Z d d l Z d d l Z e e d � s] d e _ n d d d � � YZ d d d � � YZ d d Z d � Z d � Z i Z d � Z d � Z d � Z d � Z e d k r� e � n d S( s! Utilities for CVS administration.i����Nt timezonei t Filec B s\ e Z d Z d d � Z d � Z d � Z d � Z d d � Z d � Z d � Z d � Z RS( s� Represent a file's status. Instance variables: file -- the filename (no slashes), None if uninitialized lseen -- true if the data for the local file is up to date eseen -- true if the data from the CVS/Entries entry is up to date (this implies that the entry must be written back) rseen -- true if the data for the remote file is up to date proxy -- RCSProxy instance used to contact the server, or None Note that lseen and rseen don't necessary mean that a local or remote file *exists* -- they indicate that we've checked it. However, eseen means that this instance corresponds to an entry in the CVS/Entries file. If lseen is true: lsum -- checksum of the local file, None if no local file lctime -- ctime of the local file, None if no local file lmtime -- mtime of the local file, None if no local file If eseen is true: erev -- revision, None if this is a no revision (not '0') enew -- true if this is an uncommitted added file edeleted -- true if this is an uncommitted removed file ectime -- ctime of last local file corresponding to erev emtime -- mtime of last local file corresponding to erev extra -- 5th string from CVS/Entries file If rseen is true: rrev -- revision of head, None if non-existent rsum -- checksum of that revision, Non if non-existent If eseen and rseen are both true: esum -- checksum of revision erev, None if no revision Note c C sK | r d | k r t d � n | | _ d | _ | _ | _ d | _ d S( Nt /s no slash allowed in filei ( t ValueErrort filet lseent eseent rseent Nonet proxy( t selfR ( ( s) /usr/lib64/python2.7/Demo/pdist/cvslib.pyt __init__9 s c C s t | j | j � S( N( t cmpR ( R t other( ( s) /usr/lib64/python2.7/Demo/pdist/cvslib.pyt __cmp__@ s c C s� y&