Patchwork D6266: copies: replace .items() by .values() where appropriate

login
register
mail settings
Submitter phabricator
Date May 2, 2019, 2:13 a.m.
Message ID <0d8f30ef7c0d2fa8c48d0890630226c7@localhost.localdomain>
Download mbox | patch
Permalink /patch/39910/
State Not Applicable
Headers show

Comments

phabricator - May 2, 2019, 2:13 a.m.
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGa20d7c6abff2: copies: replace .items() by .values() where appropriate (authored by martinvonz, committed by ).

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6266?vs=14966&id=14978

REVISION DETAIL
  https://phab.mercurial-scm.org/D6266

AFFECTED FILES
  mercurial/copies.py

CHANGE DETAILS




To: martinvonz, #hg-reviewers
Cc: mercurial-devel

Patch

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