//usr/lib64/lib64//lib64//python2.7/ó
àœSec @ sÈ d Z d d l Z d d l Z d d l Z d d l Z d Z d Z d a d a d a d „ Z
d „ Z d „ Z d Z
d „ Z d „ Z d
„ Z d d d d „ Z d d „ Z e d k rÄ e
ƒ n d S( s† Script to synchronize two source trees.
Invoke with two arguments:
python treesync.py slave master
The assumption is that "master" contains CVS administration while
slave doesn't. All files in the slave tree that have a CVS/Entries
entry in the master tree are synchronized. This means:
If the files differ:
if the slave file is newer:
normalize the slave file
if the files still differ:
copy the slave to the master
else (the master is newer):
copy the master to the slave
normalizing the slave means replacing CRLF with LF when the master
doesn't use CRLF
iÿÿÿÿNt askt yest noc C s) t j t j d d ƒ \ } } x³ | D]« \ } } | d k rG d } n | d k r\ d } n | d k rq | a n | d k r† | a n | d k r› | a n | d
k r° | } n | d k r&