hgext3rd/topic/revset.py
changeset 2681 aa4db71a6224
parent 2669 b933a8068c17
child 2682 a6e3c2fcb1d7
--- a/hgext3rd/topic/revset.py	Thu Jun 29 00:11:07 2017 +0530
+++ b/hgext3rd/topic/revset.py	Thu Jun 29 01:58:26 2017 +0530
@@ -71,6 +71,8 @@
     This is roughly equivalent to 'topic(.) - obsolete' with a sorting moving
     unstable changeset after there future parent (as if evolve where already
     run)."""
+    err = 'stack() takes no argument, it works on current topic'
+    revset.getargs(x, 0, 0, err)
     topic = repo.currenttopic
     if not topic:
         raise error.Abort(_('no active topic to list'))