Changeset 454 in tailor
- Timestamp:
- 07/30/05 03:04:37 (8 years ago)
- Hash name:
- 20050730010437-97f81-5cfd03d6e0f9650fca6cfcdbf77399a3f6e47c48
- Location:
- vcpx
- Files:
-
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
vcpx/target.py
r452 r454 351 351 else: 352 352 author = "%s@%s" % (AUTHOR, HOST) 353 remark = BOOTSTRAP_PATCHNAME % module353 remark = BOOTSTRAP_PATCHNAME % source_module 354 354 log = BOOTSTRAP_CHANGELOG % locals() 355 355 self._commit(root, changeset.date, author, remark, log, 356 356 entries=[subdir]) 357 357 358 def _initializeWorkingDir(self, root, repository, module, subdir): 358 def _initializeWorkingDir(self, root, source_repository, source_module, 359 subdir): 359 360 """ 360 361 Assuming the ``root`` directory contains a working copy ``module`` -
vcpx/darcs.py
r448 r454 391 391 rename(oldname + '-TAILOR-HACKED-TEMP-NAME', oldname) 392 392 393 def _initializeWorkingDir(self, root, repository, module, subdir): 393 def _initializeWorkingDir(self, root, source_repository, source_module, 394 subdir): 394 395 """ 395 396 Execute ``darcs initialize`` and tweak the default settings of … … 409 410 410 411 motd = open(join(root, '_darcs/prefs/motd'), 'w') 411 motd.write(MOTD % ( repository,module))412 motd.write(MOTD % (source_repository, source_module)) 412 413 motd.close() 413 414 … … 427 428 428 429 SyncronizableTargetWorkingDir._initializeWorkingDir(self, root, 429 repository, module, 430 source_repository, 431 source_module, 430 432 subdir) -
vcpx/svn.py
r444 r454 389 389 self._addPathnames(root, [newname]) 390 390 391 def _initializeWorkingDir(self, root, repository, module, subdir): 391 def _initializeWorkingDir(self, root, source_repository, source_module, 392 subdir): 392 393 """ 393 394 Add the given directory to an already existing svn working tree. … … 400 401 401 402 SyncronizableTargetWorkingDir._initializeWorkingDir(self, root, 402 repository, module, 403 source_repository, 404 source_module, 403 405 subdir) -
vcpx/monotone.py
r450 r454 94 94 rename.execute(oldname, newname) 95 95 96 def _initializeWorkingDir(self, root, repository, module, subdir): 96 def _initializeWorkingDir(self, root, source_repository, source_module, 97 subdir): 97 98 """ 98 99 Setup the monotone working copy -
vcpx/cdv.py
r447 r454 70 70 ExternalCommand(cwd=root, command=cmd).execute(oldname, newname) 71 71 72 def initializeNewWorkingDir(self, root, repository, module, subdir,73 changeset, initial):72 def initializeNewWorkingDir(self, root, source_repository, source_module, 73 subdir, changeset, initial): 74 74 """ 75 75 Initialize a new working directory, just extracted from … … 80 80 BOOTSTRAP_CHANGELOG 81 81 82 self._initializeWorkingDir(root, repository, module, subdir) 82 self._initializeWorkingDir(root, source_repository, source_module, 83 subdir) 83 84 revision = changeset.revision 84 85 if initial: … … 88 89 else: 89 90 author = "%s@%s" % (AUTHOR, HOST) 90 remark = BOOTSTRAP_PATCHNAME % module91 remark = BOOTSTRAP_PATCHNAME % source_module 91 92 log = BOOTSTRAP_CHANGELOG % locals() 92 93 self._commit(root, changeset.date, author, remark, log, 93 94 entries=[subdir, '%s/...' % subdir]) 94 95 95 def _initializeWorkingDir(self, root, repository, module, subdir): 96 def _initializeWorkingDir(self, root, source_repository, source_module, 97 subdir): 96 98 """ 97 99 Execute ``cdv init``. … … 113 115 114 116 SyncronizableTargetWorkingDir._initializeWorkingDir(self, root, 115 repository, module, 117 source_repository, 118 source_module, 116 119 subdir) -
vcpx/bzr.py
r437 r454 70 70 ExternalCommand(cwd=root, command=cmd).execute(old, new) 71 71 72 def initializeNewWorkingDir(self, root, repository, module, subdir,73 changeset, initial):72 def initializeNewWorkingDir(self, root, source_repository, 73 source_module, subdir, changeset, initial): 74 74 """ 75 75 Initialize a new working directory, just extracted from … … 80 80 BOOTSTRAP_CHANGELOG 81 81 82 self._initializeWorkingDir(root, repository, module, subdir) 82 self._initializeWorkingDir(root, source_repository, source_module, 83 subdir) 83 84 revision = changeset.revision 84 85 if initial: … … 88 89 else: 89 90 author = "%s@%s" % (AUTHOR, HOST) 90 remark = BOOTSTRAP_PATCHNAME % module91 remark = BOOTSTRAP_PATCHNAME % source_module 91 92 log = BOOTSTRAP_CHANGELOG % locals() 92 93 self._commit(root, changeset.date, author, remark, log, 93 94 entries=[subdir, '%s/...' % subdir]) 94 95 95 def _initializeWorkingDir(self, root, repository, module, subdir): 96 def _initializeWorkingDir(self, root, source_repository, source_module, 97 subdir): 96 98 """ 97 99 Execute ``bzr init``. … … 119 121 120 122 SyncronizableTargetWorkingDir._initializeWorkingDir(self, root, 121 repository, module, 123 source_repository, 124 source_module, 122 125 subdir) -
vcpx/hg.py
r449 r454 109 109 copy.execute(oldname, newname) 110 110 111 def _initializeWorkingDir(self, root, repository, module, subdir): 111 def _initializeWorkingDir(self, root, source_repository, source_module, 112 subdir): 112 113 """ 113 114 Execute ``hg init``.
Note: See TracChangeset
for help on using the changeset viewer.
