Changeset 19 in tailor for vcpx/svn.py
- Timestamp:
- 06/22/04 00:02:48 (9 years ago)
- Hash name:
- 20040621220248-97f81-5455781361206ece5a9be9397f289213bfa892aa
- File:
-
- 1 edited
-
vcpx/svn.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/svn.py
r18 r19 253 253 c(old=oldentry, new=newentry) 254 254 255 def _initializeWorkingDir(self, root ):255 def _initializeWorkingDir(self, root, addentry=None): 256 256 """ 257 257 Add the given directory to an already existing svn working tree. 258 258 """ 259 259 260 from os.path import split, walk 261 262 basedir,wdir = split(root) 263 c = SvnAdd(working_dir=basedir) 264 c(entry=wdir) 265 266 for dir, subdirs, files in walk(root): 267 if 'CVS' in subdirs: 268 subdirs.remove('CVS') 269 if '_darcs' in subdirs: 270 subdirs.remove('_darcs') 271 c = SvnAdd(working_dir=dir) 272 for d in subdirs+files: 273 c(entry=d) 274 260 SyncronizableTargetWorkingDir._initializeWorkingDir(self, root, SvnAdd)
Note: See TracChangeset
for help on using the changeset viewer.
