Changeset 1583 in tailor for vcpx/repository/darcs/source.py
- Timestamp:
- 05/31/08 01:17:47 (5 years ago)
- Hash name:
- 20080530231747-97f81-cfc68186fb253db37a7b0599d6873ff14e67d80f
- File:
-
- 1 edited
-
vcpx/repository/darcs/source.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
vcpx/repository/darcs/source.py
r1579 r1583 62 62 - collapse "rename A B; remove B" into "remove A" 63 63 - collapse "rename A B; rename B C" into "rename A C" 64 - collapse "add A; edit A" into "add A" 64 65 """ 65 66 … … 106 107 e.old_name = None 107 108 e.is_directory = entry.is_directory 109 110 # Collapse "add A; edit A" into "add A" 111 for j,oe in enumerate(self.entries): 112 if oe.action_kind == e.UPDATED and e.name == oe.name: 113 del self.entries[j] 114 108 115 return e 109 116 … … 170 177 # obviously to the end, and since the latter, as said, come 171 178 # in very early, appending is just good. 179 172 180 self.entries.append(entry) 173 181 return entry
Note: See TracChangeset
for help on using the changeset viewer.
