mercurial/stack.py
changeset 42698 77c52ce50e6a
parent 37004 68fcc5503ec5
child 42960 763028fc6a69
--- a/mercurial/stack.py	Sat Aug 03 16:47:49 2019 -0700
+++ b/mercurial/stack.py	Thu Jul 18 17:07:34 2019 +0800
@@ -22,7 +22,7 @@
     if rev is None:
         rev = '.'
 
-    revspec = 'reverse(only(%s) and not public() and not ::merge())'
+    revspec = 'only(%s) and not public() and not ::merge()'
     revset = revsetlang.formatspec(revspec, rev)
     revisions = scmutil.revrange(repo, [revset])
     revisions.sort()