hgext/rebase.py
branchstable
changeset 33622 5a5f600b06ad
parent 33590 52f82e7d6a7e
child 33736 86aca74a063b
child 34354 2f427b57bf90
--- a/hgext/rebase.py	Wed Aug 02 00:02:11 2017 +0900
+++ b/hgext/rebase.py	Wed Aug 02 21:52:22 2017 +0900
@@ -472,7 +472,7 @@
                 commitmsg = self.collapsemsg
             else:
                 commitmsg = 'Collapsed revision'
-                for rebased in self.state:
+                for rebased in sorted(self.state):
                     if rebased not in self.skipped and\
                        self.state[rebased] > nullmerge:
                         commitmsg += '\n* %s' % repo[rebased].description()