From patchwork Thu Feb 1 20:33:08 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: D1887: tags: explicitly grab list of dict keys From: phabricator X-Patchwork-Id: 27123 Message-Id: To: mercurial-devel@mercurial-scm.org Date: Thu, 1 Feb 2018 20:33:08 +0000 This revision was automatically updated to reflect the committed changes. Closed by commit rHG58aa5adc7d90: tags: explicitly grab list of dict keys (authored by durin42, committed by ). REPOSITORY rHG Mercurial CHANGES SINCE LAST UPDATE https://phab.mercurial-scm.org/D1887?vs=4877&id=5056 REVISION DETAIL https://phab.mercurial-scm.org/D1887 AFFECTED FILES mercurial/tags.py CHANGE DETAILS To: durin42, #hg-reviewers, pulkit, indygreg Cc: mercurial-devel diff --git a/mercurial/tags.py b/mercurial/tags.py --- a/mercurial/tags.py +++ b/mercurial/tags.py @@ -244,7 +244,7 @@ # remove tags pointing to invalid nodes cl = repo.changelog - for t in filetags.keys(): + for t in list(filetags): try: cl.rev(filetags[t][0]) except (LookupError, ValueError):