Show More
@@ -1505,7 +1505,7 b' def movedirstate(repo, newctx, match=Non' | |||
|
1505 | 1505 | } |
|
1506 | 1506 | # Adjust the dirstate copies |
|
1507 | 1507 | for dst, src in pycompat.iteritems(copies): |
|
1508 |
if src not in newctx or dst in newctx or ds |
|
|
1508 | if src not in newctx or dst in newctx or not ds.get_entry(dst).added: | |
|
1509 | 1509 | src = None |
|
1510 | 1510 | ds.copy(src, dst) |
|
1511 | 1511 | repo._quick_access_changeid_invalidate() |
General Comments 0
You need to be logged in to leave comments.
Login now