D6706: stack: remove unnecessary reverse() predicate

av6 (Anton Shestakov) phabricator at mercurial-scm.org
Tue Aug 6 09:02:17 EDT 2019


Closed by commit rHG77c52ce50e6a: stack: remove unnecessary reverse() predicate (authored by av6).
This revision was automatically updated to reflect the committed changes.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D6706?vs=16106&id=16138

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D6706/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D6706

AFFECTED FILES
  mercurial/stack.py

CHANGE DETAILS

diff --git a/mercurial/stack.py b/mercurial/stack.py
--- a/mercurial/stack.py
+++ b/mercurial/stack.py
@@ -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()



To: av6, #hg-reviewers, pulkit
Cc: mercurial-devel


More information about the Mercurial-devel mailing list