# HG changeset patch # User Augie Fackler # Date 1524806842 14400 # Node ID 73ca1c5e65f8f2899f973a8185f25ca30e8d5806 # Parent dd071b34e60b4e560821109e36253be23e65b2ee convcmd: make a copy of heads before mutating it Differential Revision: https://phab.mercurial-scm.org/D3486 diff -r dd071b34e60b -r 73ca1c5e65f8 hgext/convert/convcmd.py --- a/hgext/convert/convcmd.py Fri Apr 27 01:26:23 2018 -0400 +++ b/hgext/convert/convcmd.py Fri Apr 27 01:27:22 2018 -0400 @@ -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()