Changeset 1469 in tailor
- Timestamp:
- 03/21/08 01:42:16 (5 years ago)
- Hash name:
- 20080321004216-8c5d4-f39b2735e21fc0fa00f86c51e0ef816afc977658
- File:
-
- 1 edited
-
vcpx/repository/darcs/source.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/repository/darcs/source.py
r1468 r1469 47 47 - annihilate "add A; remove A" 48 48 - collapse "rename A B; remove B" into "remove A" 49 - collapse "rename A B; rename B C" into "rename A C" 49 50 """ 50 51 … … 125 126 del self.entries[i] 126 127 return None 128 129 # The "rename A B; rename B C" to "rename A C" part 130 elif entry.action_kind == entry.RENAMED: 131 for i in self.entries: 132 if i.action_kind == i.RENAMED and i.name == entry.old_name: 133 i.name = entry.name 134 return i 127 135 128 136 # Ok, it must be either an edit or a rename: the former goes
Note: See TracChangeset
for help on using the changeset viewer.
