Changeset 55 in tailor
- Timestamp:
- 07/06/04 03:50:17 (9 years ago)
- Hash name:
- 20040706015017-97f81-32b0c48f095d1112d8523815353aaa00c0bccbbf
- File:
-
- 1 edited
-
vcpx/darcs.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/darcs.py
r51 r55 59 59 60 60 61 class DarcsAnnotate(SystemCommand): 62 COMMAND = "darcs annotate --standard-verbosity %(entry)s" 63 61 64 class DarcsWorkingDir(UpdatableSourceWorkingDir,SyncronizableTargetWorkingDir): 62 65 """ … … 191 194 """ 192 195 196 from os.path import split, join, exists 197 198 # This is ugly, but I didn't find a better way to test whether 199 # a particular directory is already version controlled by darcs. 200 201 dannot = DarcsAnnotate(working_dir=root) 202 203 basedir = split(entry)[0] 204 205 if basedir: 206 dannot(output=True, entry=basedir) 207 if dannot.exit_status: 208 self._addEntry(root, basedir) 209 193 210 c = DarcsAdd(working_dir=root) 194 211 c(entry=entry)
Note: See TracChangeset
for help on using the changeset viewer.
