##// END OF EJS Templates
mq: use `revs.sort()` to ensure the set is ascending...
Pierre-Yves David -
r22803:31a591c3 default
parent child Browse files
Show More
@@ -1002,8 +1002,7 b' class queue(object):'
1002 1002 if not self.applied:
1003 1003 raise util.Abort(_('no patches applied'))
1004 1004 revs = scmutil.revrange(repo, opts.get('rev'))
1005 if len(revs) > 1 and revs[0] > revs[1]:
1006 revs.reverse()
1005 revs.sort()
1007 1006 revpatches = self._revpatches(repo, revs)
1008 1007 realpatches += revpatches
1009 1008 numrevs = len(revpatches)
General Comments 0
You need to be logged in to leave comments. Login now