Changeset 1653 in tailor
- Timestamp:
- 07/17/08 23:30:40 (5 years ago)
- Hash name:
- 20080717213040-487bc-499d85d180748957b5a79653d774271ff9617e02
- File:
-
- 1 edited
-
vcpx/repository/git/target.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/repository/git/target.py
r1652 r1653 267 267 # out of the way, and the superclass expects us to rename the 268 268 # the file or directory via git. 269 if exists(newpath) or not exists(newpathtmp): 270 raise ChangesetApplicationFailure("Unsure how to handle disjunct rename of %s" 271 % newname) 269 270 # First, some sanity checks. 271 if exists(newpath): 272 raise ChangesetApplicationFailure( 273 "Cannot rename since target already exists: %s" % newname) 274 275 if not exists(newpathtmp): 276 raise ChangesetApplicationFailure( 277 "Cannot rename since actual target not found: %s" % newnametmp) 278 272 279 self.repository.runCommand(['mv', oldname, newname]) 273 280
Note: See TracChangeset
for help on using the changeset viewer.
