##// END OF EJS Templates
fileset: drop false function signatures from revs() and status() docs...
Yuya Nishihara -
r31254:2140e12d default
parent child Browse files
Show More
@@ -441,10 +441,8 b' def copied(mctx, x):'
441
441
442 @predicate('revs(revs, pattern)')
442 @predicate('revs(revs, pattern)')
443 def revs(mctx, x):
443 def revs(mctx, x):
444 """``revs(set, revspec)``
444 """Evaluate set in the specified revisions. If the revset match multiple
445
445 revs, this will return file matching pattern in any of the revision.
446 Evaluate set in the specified revisions. If the revset match multiple revs,
447 this will return file matching pattern in any of the revision.
448 """
446 """
449 # i18n: "revs" is a keyword
447 # i18n: "revs" is a keyword
450 r, x = getargs(x, 2, 2, _("revs takes two arguments"))
448 r, x = getargs(x, 2, 2, _("revs takes two arguments"))
@@ -465,9 +463,7 b' def revs(mctx, x):'
465
463
466 @predicate('status(base, rev, pattern)')
464 @predicate('status(base, rev, pattern)')
467 def status(mctx, x):
465 def status(mctx, x):
468 """``status(base, rev, revspec)``
466 """Evaluate predicate using status change between ``base`` and
469
470 Evaluate predicate using status change between ``base`` and
471 ``rev``. Examples:
467 ``rev``. Examples:
472
468
473 - ``status(3, 7, added())`` - matches files added from "3" to "7"
469 - ``status(3, 7, added())`` - matches files added from "3" to "7"
General Comments 0
You need to be logged in to leave comments. Login now