# HG changeset patch # User Mads Kiilerich # Date 2013-01-15 01:59:14 # Node ID 5965997b70235e768c4244454afae5ca86b3caaa # Parent ff2c89ebf5d40134c0f61f9b83acec510047c8e7 convert: process splicemap in sorted order diff --git a/hgext/convert/convcmd.py b/hgext/convert/convcmd.py --- a/hgext/convert/convcmd.py +++ b/hgext/convert/convcmd.py @@ -147,7 +147,7 @@ class converter(object): map contains valid revision identifiers and merge the new links in the source graph. """ - for c in splicemap: + for c in sorted(splicemap): if c not in parents: if not self.dest.hascommit(self.map.get(c, c)): # Could be in source but not converted during this run