Changeset 1639 in tailor
- Timestamp:
- 06/11/08 20:12:37 (5 years ago)
- Hash name:
- 20080611181237-7a6fb-3b0b4e602f4abab97995d5c5ca075388d935101d
- File:
-
- 1 edited
-
vcpx/repository/darcs/target.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/repository/darcs/target.py
r1638 r1639 106 106 """ 107 107 108 from os import rename, unlink 109 108 110 logmessage = [] 109 111 … … 135 137 136 138 if record.exit_status: 139 pending = join(self.repository.basedir, '_darcs', 'patches', 'pending') 140 if exists(pending): 141 wrongpending = pending + '.wrong' 142 if exists(wrongpending): 143 unlink(wrongpending) 144 rename(pending, wrongpending) 145 self.log.debug("Pending file renamed to %s", wrongpending) 137 146 raise ChangesetReplayFailure( 138 147 "%s returned status %d, saying: %s" % (str(record),
Note: See TracChangeset
for help on using the changeset viewer.
