mercurial/hg.py
changeset 681 32b6bbf1c37b
parent 680 4b7b79d2db2c
child 686 d7d68d27ebe5
--- 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)