D6266: copies: replace .items() by .values() where appropriate
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Mon Apr 29 18:52:36 EDT 2019
martinvonz updated this revision to Diff 14966.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6266?vs=14945&id=14966
REVISION DETAIL
https://phab.mercurial-scm.org/D6266
AFFECTED FILES
mercurial/copies.py
CHANGE DETAILS
diff --git a/mercurial/copies.py b/mercurial/copies.py
--- a/mercurial/copies.py
+++ b/mercurial/copies.py
@@ -527,9 +527,9 @@
renamedeleteset = set()
divergeset = set()
- for src, dsts in diverge.items():
+ for dsts in diverge.values():
divergeset.update(dsts)
- for src, dsts in renamedelete.items():
+ for dsts in renamedelete.values():
renamedeleteset.update(dsts)
# find interesting file sets from manifests
To: martinvonz, #hg-reviewers
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list