mercurial/revset.py
changeset 42699 911e25dc9d8c
parent 42441 43c8f72184f4
child 43076 2372284d9457
--- a/mercurial/revset.py	Thu Jul 18 17:07:34 2019 +0800
+++ b/mercurial/revset.py	Thu Jul 18 17:10:38 2019 +0800
@@ -1695,7 +1695,7 @@
     parent. (EXPERIMENTAL)
     """
     if x is None:
-        stacks = stackmod.getstack(repo, x)
+        stacks = stackmod.getstack(repo)
     else:
         stacks = smartset.baseset([])
         for revision in getset(repo, fullreposet(repo), x):