D6266: copies: replace .items() by .values() where appropriate
martinvonz (Martin von Zweigbergk)
phabricator at mercurial-scm.org
Wed Apr 17 18:06:30 EDT 2019
martinvonz updated this revision to Diff 14811.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D6266?vs=14806&id=14811
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
@@ -522,9 +522,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