Changeset 7 in tailor
- Timestamp:
- 06/03/04 00:55:20 (9 years ago)
- Hash name:
- 20040602225520-97f81-6861f72d1be006eb3c359766f03fe75925bca261
- File:
-
- 1 edited
-
cvsync/darcs.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
cvsync/darcs.py
r6 r7 16 16 from shwrap import SystemCommand 17 17 18 AUTHOR = "tailor@localhost" 19 18 20 class DarcsInitialize(SystemCommand): 19 21 COMMAND = "darcs initialize" 20 22 21 23 class 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" 23 25 24 26 def __call__(self, output=None, dry_run=False, patchname=None, **kwargs): … … 37 39 38 40 return SystemCommand.__call__(self, output=output, 39 dry_run=dry_run, **kwargs) 41 dry_run=dry_run, author=AUTHOR, 42 **kwargs) 40 43 41 44 class DarcsMv(SystemCommand): … … 63 66 64 67 di = DarcsInitialize(working_dir=self.root) 65 di( )68 di(output=True) 66 69 67 70 def record(self, patchname, logmessage=None): … … 69 72 70 73 drec = DarcsRecord(working_dir=self.root) 71 drec( patchname=patchname, logmessage=logmessage)74 drec(output=True, patchname=patchname, logmessage=logmessage) 72 75 73 76 def rename(self, old, new):
Note: See TracChangeset
for help on using the changeset viewer.
