View file File name : rcvs.pyo Content :� Afc @ s� d Z d d l m Z m Z d d l Z d d l Z d d l Z d d l Z d d l m Z d Z d e f d � � YZ d Z d Z d e f d � � YZ d e f d � � YZ d � Z d � Z e d k r� e � n d S( s$ Remote CVS -- command line interfacei����( t CVSt FileN( t CommandFrameWorki t MyFilec B sk e Z d � Z d � Z d d � Z g d � Z d � Z d d � Z d � Z d � Z d � Z d � Z RS( c C sl | j s | j � n | j s, | j � n | j s| | j sR | j sK d Sd Sqh| j s_ d S| j | j k ru d Sd Sn� | j s� | j r� | j r� d Sd Sqh| j r� d G| j Gd GHd Sd Sn� | j s� | j r� d Sd Sn� | j r | j | j k rd Sd Sn | j | j k r8| j | j k r1d Sd Sn0 | j | j k rNd S| j | j k rdd Sd Sd S( s Return a code indicating the update status of this file. The possible return values are: '=' -- everything's fine '0' -- file doesn't exist anywhere '?' -- exists locally only 'A' -- new locally 'R' -- deleted locally 'U' -- changed remotely, no changes locally (includes new remotely or deleted remotely) 'M' -- changed locally, no changes remotely 'C' -- conflict: changed locally as well as remotely (includes cases where the file has been added or removed locally and remotely) 'D' -- deleted remotely 'N' -- new remotely 'r' -- get rid of entry 'c' -- create entry 'u' -- update entry (and probably others :-) t 0t Nt ?t ct Ct Rt rs warning:s was lostt Ut At Dt ut =t MN( t lseent getlocalt rseent getremotet eseent lsumt rsumt edeletedt filet enewt esum( t self( ( s'