Show More
@@ -1566,6 +1566,12 b' def _phase(repo, subset, *targets):' | |||
|
1566 | 1566 | """helper to select all rev in <targets> phases""" |
|
1567 | 1567 | return repo._phasecache.getrevset(repo, targets, subset) |
|
1568 | 1568 | |
|
1569 | @predicate('_phase(idx)', safe=True) | |
|
1570 | def phase(repo, subset, x): | |
|
1571 | l = getargs(x, 1, 1, ("_phase requires one argument")) | |
|
1572 | target = getinteger(l[0], ("_phase expects a number")) | |
|
1573 | return _phase(repo, subset, target) | |
|
1574 | ||
|
1569 | 1575 | @predicate('draft()', safe=True) |
|
1570 | 1576 | def draft(repo, subset, x): |
|
1571 | 1577 | """Changeset in draft phase.""" |
General Comments 0
You need to be logged in to leave comments.
Login now