Skip to content
Snippets Groups Projects
Commit 2140e12d authored by Yuya Nishihara's avatar Yuya Nishihara
Browse files

fileset: drop false function signatures from revs() and status() docs

They should be inserted by @predicate helper.
parent 64596338
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment