##// END OF EJS Templates
revset: use appropriate predicate name in error messages...
FUJIWARA Katsunori -
r17258:5822345e stable
parent child Browse files
Show More
@@ -615,7 +615,7 b' def draft(repo, subset, x):'
615 615 def extinct(repo, subset, x):
616 616 """``extinct()``
617 617 obsolete changeset with obsolete descendant only."""
618 getargs(x, 0, 0, _("obsolete takes no arguments"))
618 getargs(x, 0, 0, _("extinct takes no arguments"))
619 619 extinctset = set(repo.revs('(obsolete()::) - (::(not obsolete()))'))
620 620 return [r for r in subset if r in extinctset]
621 621
@@ -1406,7 +1406,7 b' def tagged(repo, subset, x):'
1406 1406 def unstable(repo, subset, x):
1407 1407 """``unstable()``
1408 1408 Unstable changesets are non-obsolete with obsolete descendants."""
1409 getargs(x, 0, 0, _("obsolete takes no arguments"))
1409 getargs(x, 0, 0, _("unstable takes no arguments"))
1410 1410 unstableset = set(repo.revs('(obsolete()::) - obsolete()'))
1411 1411 return [r for r in subset if r in unstableset]
1412 1412
General Comments 0
You need to be logged in to leave comments. Login now