Changeset 7 in tailor


Ignore:
Timestamp:
06/03/04 00:55:20 (9 years ago)
Author:
lele@…
Hash name:
20040602225520-97f81-6861f72d1be006eb3c359766f03fe75925bca261
Message:

Use 'tailor@localhost' as patches author

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cvsync/darcs.py

    r6 r7  
    1616from shwrap import SystemCommand 
    1717 
     18AUTHOR = "tailor@localhost" 
     19 
    1820class DarcsInitialize(SystemCommand): 
    1921    COMMAND = "darcs initialize" 
    2022 
    2123class DarcsRecord(SystemCommand): 
    22     COMMAND = "darcs record --standard-verbosity --all --look-for-adds --logfile=%(logfile)s" 
     24    COMMAND = "darcs record -v --all --look-for-adds --author=%(author)s --logfile=%(logfile)s" 
    2325 
    2426    def __call__(self, output=None, dry_run=False, patchname=None, **kwargs): 
     
    3739             
    3840        return SystemCommand.__call__(self, output=output, 
    39                                       dry_run=dry_run, **kwargs) 
     41                                      dry_run=dry_run, author=AUTHOR, 
     42                                      **kwargs) 
    4043 
    4144class DarcsMv(SystemCommand): 
     
    6366 
    6467        di = DarcsInitialize(working_dir=self.root) 
    65         di() 
     68        di(output=True) 
    6669         
    6770    def record(self, patchname, logmessage=None): 
     
    6972 
    7073        drec = DarcsRecord(working_dir=self.root) 
    71         drec(patchname=patchname, logmessage=logmessage) 
     74        drec(output=True, patchname=patchname, logmessage=logmessage) 
    7275 
    7376    def rename(self, old, new): 
Note: See TracChangeset for help on using the changeset viewer.