# HG changeset patch # User Martin von Zweigbergk # Date 2019-04-17 21:11:54 # Node ID a20d7c6abff2c571557149a3fc3e08bdd9c02f89 # Parent d69bc8ffbe6f8d43155cbee0f9abc7a77f02af5a copies: replace .items() by .values() where appropriate As pointed out by Pierre-Yves. Differential Revision: https://phab.mercurial-scm.org/D6266 diff --git a/mercurial/copies.py b/mercurial/copies.py --- a/mercurial/copies.py +++ b/mercurial/copies.py @@ -527,9 +527,9 @@ def _fullcopytracing(repo, c1, c2, base) 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