Show More
@@ -266,12 +266,17 b' class dirstate(object):' | |||
|
266 | 266 | self._pl = p1, p2 |
|
267 | 267 | copies = {} |
|
268 | 268 | if oldp2 != nullid and p2 == nullid: |
|
269 | # Discard 'm' markers when moving away from a merge state | |
|
270 | 269 | for f, s in self._map.iteritems(): |
|
270 | # Discard 'm' markers when moving away from a merge state | |
|
271 | 271 | if s[0] == 'm': |
|
272 | 272 | if f in self._copymap: |
|
273 | 273 | copies[f] = self._copymap[f] |
|
274 | 274 | self.normallookup(f) |
|
275 | # Also fix up otherparent markers | |
|
276 | elif s[0] == 'n' and s[2] == -2: | |
|
277 | if f in self._copymap: | |
|
278 | copies[f] = self._copymap[f] | |
|
279 | self.add(f) | |
|
275 | 280 | return copies |
|
276 | 281 | |
|
277 | 282 | def setbranch(self, branch): |
@@ -181,7 +181,7 b' abort editing session, after first forci' | |||
|
181 | 181 | parent: 0:cb9a9f314b8b |
|
182 | 182 | a |
|
183 | 183 | branch: default |
|
184 |
commit: 1 |
|
|
184 | commit: 1 added, 1 unknown (new branch head) | |
|
185 | 185 | update: 6 new changesets (update) |
|
186 | 186 | hist: 2 remaining (histedit --continue) |
|
187 | 187 | |
@@ -190,7 +190,7 b' abort editing session, after first forci' | |||
|
190 | 190 | |
|
191 | 191 | modified files should survive the abort when we've moved away already |
|
192 | 192 | $ hg st |
|
193 |
|
|
|
193 | A e | |
|
194 | 194 | ? edit.sh |
|
195 | 195 | |
|
196 | 196 | $ graphlog "log after abort" |
@@ -71,9 +71,9 b' Rebasing B onto H and collapsing changes' | |||
|
71 | 71 | HG: -- |
|
72 | 72 | HG: user: Nicolas Dumazet <nicdumz.commits@gmail.com> |
|
73 | 73 | HG: branch 'default' |
|
74 |
HG: |
|
|
75 |
HG: |
|
|
76 |
HG: |
|
|
74 | HG: added B | |
|
75 | HG: added C | |
|
76 | HG: added D | |
|
77 | 77 | ==== |
|
78 | 78 | saved backup bundle to $TESTTMP/a1/.hg/strip-backup/*-backup.hg (glob) |
|
79 | 79 |
General Comments 0
You need to be logged in to leave comments.
Login now