D3486: convcmd: make a copy of heads before mutating it
durin42 (Augie Fackler)
phabricator at mercurial-scm.org
Tue May 8 14:23:26 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHG73ca1c5e65f8: convcmd: make a copy of heads before mutating it (authored by durin42, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D3486?vs=8538&id=8561
REVISION DETAIL
https://phab.mercurial-scm.org/D3486
AFFECTED FILES
hgext/convert/convcmd.py
CHANGE DETAILS
diff --git a/hgext/convert/convcmd.py b/hgext/convert/convcmd.py
--- a/hgext/convert/convcmd.py
+++ b/hgext/convert/convcmd.py
@@ -234,7 +234,7 @@
def walktree(self, heads):
'''Return a mapping that identifies the uncommitted parents of every
uncommitted changeset.'''
- visit = heads
+ visit = list(heads)
known = set()
parents = {}
numcommits = self.source.numcommits()
To: durin42, #hg-reviewers, indygreg
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list