Changeset 892 in tailor
- Timestamp:
- 10/12/05 17:08:51 (8 years ago)
- Hash name:
- 20051012150851-7a6fb-4c4e0d1b0d5761ece93861834e2a94381f0398ea
- File:
-
- 1 edited
-
vcpx/cvsps.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/cvsps.py
r884 r892 263 263 """ 264 264 265 from os.path import join, exists 265 from os.path import join, exists, split 266 266 from cvs import CvsEntries, compare_cvs_revs 267 267 from time import sleep … … 296 296 297 297 if not exists(join(self.basedir, 'CVS')): 298 # CVS does not handle "checkout -d multi/level/subdir", so 299 # split the basedir and use it's parentdir as cwd below. 300 parentdir, subdir = split(self.basedir) 298 301 cmd = self.repository.command("-q", 299 302 "-d", self.repository.repository, 300 303 "checkout", 301 "-d", s elf.repository.subdir)304 "-d", subdir) 302 305 if revision: 303 306 cmd.extend(["-r", revision]) … … 305 308 cmd.extend(["-D", "%s UTC" % timestamp]) 306 309 307 checkout = ExternalCommand(cwd= self.repository.rootdir, command=cmd)310 checkout = ExternalCommand(cwd=parentdir, command=cmd) 308 311 retry = 0 309 312 while True:
Note: See TracChangeset
for help on using the changeset viewer.
