equal
deleted
inserted
replaced
613 return [r for r in subset if pc.phase(repo, r) == phases.draft] |
613 return [r for r in subset if pc.phase(repo, r) == phases.draft] |
614 |
614 |
615 def extinct(repo, subset, x): |
615 def extinct(repo, subset, x): |
616 """``extinct()`` |
616 """``extinct()`` |
617 obsolete changeset with obsolete descendant only.""" |
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 extinctset = set(repo.revs('(obsolete()::) - (::(not obsolete()))')) |
619 extinctset = set(repo.revs('(obsolete()::) - (::(not obsolete()))')) |
620 return [r for r in subset if r in extinctset] |
620 return [r for r in subset if r in extinctset] |
621 |
621 |
622 def extra(repo, subset, x): |
622 def extra(repo, subset, x): |
623 """``extra(label, [value])`` |
623 """``extra(label, [value])`` |
1404 return tag(repo, subset, x) |
1404 return tag(repo, subset, x) |
1405 |
1405 |
1406 def unstable(repo, subset, x): |
1406 def unstable(repo, subset, x): |
1407 """``unstable()`` |
1407 """``unstable()`` |
1408 Unstable changesets are non-obsolete with obsolete descendants.""" |
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 unstableset = set(repo.revs('(obsolete()::) - obsolete()')) |
1410 unstableset = set(repo.revs('(obsolete()::) - obsolete()')) |
1411 return [r for r in subset if r in unstableset] |
1411 return [r for r in subset if r in unstableset] |
1412 |
1412 |
1413 |
1413 |
1414 def user(repo, subset, x): |
1414 def user(repo, subset, x): |