Changeset 298 in tailor
- Timestamp:
- 05/12/05 19:08:40 (8 years ago)
- Hash name:
- 20050512170840-97f81-c92367fc1001dffbc08b44713fa27c34ad5a7112
- File:
-
- 1 edited
-
vcpx/cdv.py (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/cdv.py
r291 r298 16 16 17 17 class CdvCommit(SystemCommand): 18 COMMAND = "cdv -u %(user)s commit -m %(comment)s %(entries)s"18 COMMAND = "cdv -u %(user)s commit -m %(comment)s -D '%(time)s' %(entries)s" 19 19 20 20 def __call__(self, output=None, dry_run=False, **kwargs): … … 23 23 author = kwargs.get('author') 24 24 kwargs['user'] = shrepr(author) 25 kwargs['time'] = kwargs.get('date').strftime('%Y/%m/%d %H:%M:%S UTC') 25 26 26 27 return SystemCommand.__call__(self, output=output, … … 47 48 c = CdvCommit(working_dir=root) 48 49 49 logmessage = "%s\nOriginal date: %s" % (remark, date)50 50 if changelog: 51 logmessage = logmessage + '\n\n' + changelog 51 logmessage = remark + '\n\n' + changelog 52 else: 53 logmessage = remark 52 54 53 55 if entries: … … 56 58 entries = '.' 57 59 58 c(author=author, logmessage=logmessage, entries=entries)60 c(author=author, logmessage=logmessage, date=date, entries=entries) 59 61 60 62 def _removePathnames(self, root, names):
Note: See TracChangeset
for help on using the changeset viewer.
