changeset 31254:2140e12d3258

fileset: drop false function signatures from revs() and status() docs They should be inserted by @predicate helper.
author Yuya Nishihara <yuya@tcha.org>
date Thu, 09 Mar 2017 00:07:13 +0900
parents 64596338ba10
children 959ebff3505a
files mercurial/fileset.py
diffstat 1 files changed, 3 insertions(+), 7 deletions(-) [+]
line wrap: on
line diff
--- 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"