Changeset 289 in tailor
- Timestamp:
- 05/10/05 00:52:31 (8 years ago)
- Hash name:
- 20050509225231-97f81-49ea3ca9c14b47e42f45df72a21ae5d8080270b9
- Location:
- vcpx
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
vcpx/target.py
r283 r289 280 280 entries=[subdir]) 281 281 282 def _initializeWorkingDir(self, root, repository, module, subdir, 283 addentry=None): 282 def _initializeWorkingDir(self, root, repository, module, subdir): 284 283 """ 285 284 Assuming the `root` directory contains a working copy `module` … … 287 286 to the target repository. 288 287 289 This implementation first runs the given `addentry` 290 *SystemCommand* on the `root` directory, then it walks down 291 the `root` tree executing the same command on each entry 292 excepted the usual VC-specific control directories such as 293 ``.svn``, ``_darcs`` or ``CVS``. 294 295 If this does make sense, subclasses should just call this 296 method with the right `addentry` command. 288 This implementation recursively add every file in the subtree. 289 Subclasses should override this method doing whatever is 290 appropriate for the backend. 297 291 """ 298 292 -
vcpx/darcs.py
r284 r289 329 329 rename(oldentry + '-TAILOR-HACKED-TEMP-NAME', oldentry) 330 330 331 def _initializeWorkingDir(self, root, repository, module, subdir , addentry=None):331 def _initializeWorkingDir(self, root, repository, module, subdir): 332 332 """ 333 333 Execute `darcs initialize`. -
vcpx/svn.py
r259 r289 396 396 c(old=shrepr(oldentry), new=repr(newentry)) 397 397 398 def _initializeWorkingDir(self, root, repository, module, subdir , addentry=None):398 def _initializeWorkingDir(self, root, repository, module, subdir): 399 399 """ 400 400 Add the given directory to an already existing svn working tree. … … 408 408 SyncronizableTargetWorkingDir._initializeWorkingDir(self, root, 409 409 repository, module, 410 subdir , SvnAdd)410 subdir) -
vcpx/monotone.py
r275 r289 89 89 c(old=shrepr(oldentry), new=repr(newentry)) 90 90 91 def _initializeWorkingDir(self, root, repository, module, subdir , addentry=None):91 def _initializeWorkingDir(self, root, repository, module, subdir): 92 92 """ 93 93 Execute `monotone setup`. -
vcpx/cdv.py
r281 r289 95 95 entries=[subdir, '%s/...' % subdir]) 96 96 97 def _initializeWorkingDir(self, root, repository, module, subdir , addentry=None):97 def _initializeWorkingDir(self, root, repository, module, subdir): 98 98 """ 99 99 Execute `cdv init`. … … 115 115 SyncronizableTargetWorkingDir._initializeWorkingDir(self, root, 116 116 repository, module, 117 subdir , CdvAdd)117 subdir)
Note: See TracChangeset
for help on using the changeset viewer.
