Changeset 513 in tailor
- Timestamp:
- 08/06/05 18:47:26 (8 years ago)
- Hash name:
- 20050806164726-97f81-928c83abcaaa3a7264e400be9797b1d752982434
- Location:
- vcpx
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
vcpx/cvsps.py
r503 r513 473 473 return entries 474 474 475 def _commit(self,root, date, author, remark, changelog=None, entries=None):475 def _commit(self,root, date, author, patchname, changelog=None, entries=None): 476 476 """ 477 477 Commit the changeset. … … 484 484 485 485 logmessage = [] 486 if remark:487 logmessage.append( remark.encode(encoding))486 if patchname: 487 logmessage.append(patchname.encode(encoding)) 488 488 if changelog: 489 489 logmessage.append(changelog.replace('%', '%%').encode(encoding)) -
vcpx/target.py
r512 r513 84 84 remaininglog = '' 85 85 86 remark= self.PATCH_NAME_FORMAT % {86 patchname = self.PATCH_NAME_FORMAT % { 87 87 'revision': changeset.revision, 88 88 'author': changeset.author, … … 96 96 entries = self._getCommitEntries(changeset) 97 97 self._commit(root, changeset.date, changeset.author, 98 remark, changelog, entries)98 patchname, changelog, entries) 99 99 100 100 def _getCommitEntries(self, changeset): … … 188 188 self._addPathnames(dir, subdirs + files) 189 189 190 def _commit(self, root, date, author, remark,190 def _commit(self, root, date, author, patchname, 191 191 changelog=None, entries=None): 192 192 """ … … 274 274 if initial: 275 275 author = changeset.author 276 remark= changeset.log276 patchname = changeset.log 277 277 log = None 278 278 else: 279 279 author = "%s@%s" % (AUTHOR, HOST) 280 remark= BOOTSTRAP_PATCHNAME % source_module280 patchname = BOOTSTRAP_PATCHNAME % source_module 281 281 log = BOOTSTRAP_CHANGELOG % locals() 282 self._commit(root, changeset.date, author, remark, log,282 self._commit(root, changeset.date, author, patchname, log, 283 283 entries=[subdir]) 284 284 -
vcpx/darcs.py
r467 r513 322 322 ExternalCommand(cwd=root, command=cmd).execute(subdir) 323 323 324 def _commit(self, root, date, author, remark, changelog=None, entries=None):324 def _commit(self, root, date, author, patchname, changelog=None, entries=None): 325 325 """ 326 326 Commit the changeset. … … 335 335 logmessage.append(date.strftime('%Y/%m/%d %H:%M:%S UTC')) 336 336 logmessage.append(author.encode(encoding)) 337 logmessage.append( remark and remark.encode(encoding) or 'Unnamed patch')337 logmessage.append(patchname and patchname.encode(encoding) or 'Unnamed patch') 338 338 logmessage.append(changelog and changelog.encode(encoding) or '') 339 339 logmessage.append('') -
vcpx/svn.py
r500 r513 292 292 return entries 293 293 294 def _commit(self,root, date, author, remark, changelog=None, entries=None):294 def _commit(self,root, date, author, patchname, changelog=None, entries=None): 295 295 """ 296 296 Commit the changeset. … … 302 302 303 303 logmessage = [] 304 if remark:305 logmessage.append( remark.encode(encoding))304 if patchname: 305 logmessage.append(patchname.encode(encoding)) 306 306 if changelog: 307 307 logmessage.append('') -
vcpx/monotone.py
r467 r513 33 33 add.execute(names) 34 34 35 def _commit(self,root, date, author, remark, changelog=None, entries=None):35 def _commit(self,root, date, author, patchname, changelog=None, entries=None): 36 36 """ 37 37 Commit the changeset. … … 43 43 44 44 logmessage = [] 45 if remark:46 logmessage.append( remark.encode(encoding))45 if patchname: 46 logmessage.append(patchname.encode(encoding)) 47 47 if changelog: 48 48 logmessage.append('') -
vcpx/cdv.py
r467 r513 29 29 ExternalCommand(cwd=root, command=cmd).execute(names) 30 30 31 def _commit(self,root, date, author, remark, changelog=None, entries=None):31 def _commit(self,root, date, author, patchname, changelog=None, entries=None): 32 32 """ 33 33 Commit the changeset. … … 39 39 40 40 logmessage = [] 41 if remark:42 logmessage.append( remark.encode(encoding))41 if patchname: 42 logmessage.append(patchname.encode(encoding)) 43 43 if changelog: 44 44 logmessage.append(changelog.replace('%', '%%').encode(encoding)) … … 85 85 if initial: 86 86 author = changeset.author 87 remark= changeset.log87 patchname = changeset.log 88 88 log = None 89 89 else: 90 90 author = "%s@%s" % (AUTHOR, HOST) 91 remark= BOOTSTRAP_PATCHNAME % source_module91 patchname = BOOTSTRAP_PATCHNAME % source_module 92 92 log = BOOTSTRAP_CHANGELOG % locals() 93 self._commit(root, changeset.date, author, remark, log,93 self._commit(root, changeset.date, author, patchname, log, 94 94 entries=[subdir, '%s/...' % subdir]) 95 95 -
vcpx/bzr.py
r467 r513 29 29 ExternalCommand(cwd=root, command=cmd).execute(entries) 30 30 31 def _commit(self,root, date, author, remark, changelog=None, entries=None):31 def _commit(self,root, date, author, patchname, changelog=None, entries=None): 32 32 """ 33 33 Commit the changeset. … … 39 39 40 40 logmessage = [] 41 if remark:42 logmessage.append( remark.encode(encoding))41 if patchname: 42 logmessage.append(patchname.encode(encoding)) 43 43 if changelog: 44 44 logmessage.append(changelog.replace('%', '%%').encode(encoding)) … … 85 85 if initial: 86 86 author = changeset.author 87 remark= changeset.log87 patchname = changeset.log 88 88 log = None 89 89 else: 90 90 author = "%s@%s" % (AUTHOR, HOST) 91 remark= BOOTSTRAP_PATCHNAME % source_module91 patchname = BOOTSTRAP_PATCHNAME % source_module 92 92 log = BOOTSTRAP_CHANGELOG % locals() 93 self._commit(root, changeset.date, author, remark, log,93 self._commit(root, changeset.date, author, patchname, log, 94 94 entries=[subdir, '%s/...' % subdir]) 95 95 -
vcpx/hg.py
r467 r513 36 36 ExternalCommand(cwd=root, command=cmd).execute(notdirs) 37 37 38 def _commit(self,root, date, author, remark, changelog=None, entries=None):38 def _commit(self,root, date, author, patchname, changelog=None, entries=None): 39 39 """ 40 40 Commit the changeset. … … 47 47 48 48 logmessage = [] 49 if remark:50 logmessage.append( remark.encode(encoding))49 if patchname: 50 logmessage.append(patchname.encode(encoding)) 51 51 if changelog: 52 52 logmessage.append('') -
vcpx/arx.py
r476 r513 32 32 ExternalCommand(cwd=root, command=cmd).execute(names) 33 33 34 def _commit(self,root, date, author, remark, changelog=None, entries=None):34 def _commit(self,root, date, author, patchname, changelog=None, entries=None): 35 35 """ 36 36 Commit the changeset. … … 43 43 44 44 logmessage = "" 45 if remark:46 logmessage= remark.encode(encoding)45 if patchname: 46 logmessage=patchname.encode(encoding) 47 47 if changelog: 48 48 if logmessage!="":
Note: See TracChangeset
for help on using the changeset viewer.
