# HG changeset patch # User Matt Mackall # Date 1121123224 28800 # Node ID 32b6bbf1c37be0a1841260a5859aca07dc4c9317 # Parent 4b7b79d2db2c46981e0a7319cc40c7fc35bae257 Sort files for removal diff --git a/mercurial/hg.py b/mercurial/hg.py --- a/mercurial/hg.py +++ b/mercurial/hg.py @@ -1461,6 +1461,7 @@ class localrepository: if moddirstate: self.dirstate.update([f], 'm') + remove.sort() for f in remove: self.ui.note("removing %s\n" % f) os.unlink(f)