Show More
@@ -1372,7 +1372,7 b' class dirstate(object):' | |||
|
1372 | 1372 | |
|
1373 | 1373 | if not st and t.tracked: |
|
1374 | 1374 | dadd(fn) |
|
1375 |
elif t. |
|
|
1375 | elif t.p2_info: | |
|
1376 | 1376 | madd(fn) |
|
1377 | 1377 | elif t.added: |
|
1378 | 1378 | aadd(fn) |
@@ -332,7 +332,7 b' class dirstatemap(_dirstatemapcommon):' | |||
|
332 | 332 | if fold_p2: |
|
333 | 333 | for f, s in pycompat.iteritems(self._map): |
|
334 | 334 | # Discard "merged" markers when moving away from a merge state |
|
335 |
if s. |
|
|
335 | if s.p2_info: | |
|
336 | 336 | source = self.copymap.pop(f, None) |
|
337 | 337 | if source: |
|
338 | 338 | copies[f] = source |
@@ -604,7 +604,7 b' if rustmod is not None:' | |||
|
604 | 604 | # enables in-place mutation of elements of a collection while |
|
605 | 605 | # iterating it, without mutating the collection itself. |
|
606 | 606 | files_with_p2_info = [ |
|
607 |
f for f, s in self._map.items() if s. |
|
|
607 | f for f, s in self._map.items() if s.p2_info | |
|
608 | 608 | ] |
|
609 | 609 | rust_map = self._map |
|
610 | 610 | for f in files_with_p2_info: |
General Comments 0
You need to be logged in to leave comments.
Login now