fileset: drop false function signatures from revs() and status() docs
authorYuya Nishihara <yuya@tcha.org>
Thu, 09 Mar 2017 00:07:13 +0900
changeset 31264 2140e12d3258
parent 31263 64596338ba10
child 31265 959ebff3505a
fileset: drop false function signatures from revs() and status() docs They should be inserted by @predicate helper.
mercurial/fileset.py
--- a/mercurial/fileset.py	Wed Mar 08 22:30:12 2017 +0900
+++ b/mercurial/fileset.py	Thu Mar 09 00:07:13 2017 +0900
@@ -441,10 +441,8 @@
 
 @predicate('revs(revs, pattern)')
 def revs(mctx, x):
-    """``revs(set, revspec)``
-
-    Evaluate set in the specified revisions. If the revset match multiple revs,
-    this will return file matching pattern in any of the revision.
+    """Evaluate set in the specified revisions. If the revset match multiple
+    revs, this will return file matching pattern in any of the revision.
     """
     # i18n: "revs" is a keyword
     r, x = getargs(x, 2, 2, _("revs takes two arguments"))
@@ -465,9 +463,7 @@
 
 @predicate('status(base, rev, pattern)')
 def status(mctx, x):
-    """``status(base, rev, revspec)``
-
-    Evaluate predicate using status change between ``base`` and
+    """Evaluate predicate using status change between ``base`` and
     ``rev``. Examples:
 
     - ``status(3, 7, added())`` - matches files added from "3" to "7"