D1887: tags: explicitly grab list of dict keys
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Thu Feb 1 20:33:08 UTC 2018
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
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):
To: durin42, #hg-reviewers, pulkit, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list