Show More
@@ -521,7 +521,7 b' def _filternarrowactions(narrowmatch, br' | |||
|
521 | 521 | """ |
|
522 | 522 | # We mutate the items in the dict during iteration, so iterate |
|
523 | 523 | # over a copy. |
|
524 | for f, action in mresult.filemap(): | |
|
524 | for f, action in list(mresult.filemap()): | |
|
525 | 525 | if narrowmatch(f): |
|
526 | 526 | pass |
|
527 | 527 | elif not branchmerge: |
@@ -662,7 +662,7 b' class mergeresult:' | |||
|
662 | 662 | return sum(len(self._actionmapping[a]) for a in actions) |
|
663 | 663 | |
|
664 | 664 | def filemap(self, sort=False): |
|
665 |
if sort |
|
|
665 | if sort: | |
|
666 | 666 | for key, val in sorted(self._filemapping.items()): |
|
667 | 667 | yield key, val |
|
668 | 668 | else: |
General Comments 0
You need to be logged in to leave comments.
Login now