copies: replace .items() by .values() where appropriate
authorMartin von Zweigbergk <martinvonz@google.com>
Wed, 17 Apr 2019 14:11:54 -0700
changeset 42224 a20d7c6abff2
parent 42223 d69bc8ffbe6f
child 42225 d8ca7b99fc51
copies: replace .items() by .values() where appropriate As pointed out by Pierre-Yves. Differential Revision: https://phab.mercurial-scm.org/D6266
mercurial/copies.py
--- a/mercurial/copies.py	Fri Apr 12 10:44:37 2019 -0700
+++ b/mercurial/copies.py	Wed Apr 17 14:11:54 2019 -0700
@@ -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