Mercurial > hg
changeset 42224:a20d7c6abff2
copies: replace .items() by .values() where appropriate
As pointed out by Pierre-Yves.
Differential Revision: https://phab.mercurial-scm.org/D6266
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Wed, 17 Apr 2019 14:11:54 -0700 |
parents | d69bc8ffbe6f |
children | d8ca7b99fc51 |
files | mercurial/copies.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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