Mercurial > hg-stable
changeset 35932:00a56c83ab64
revset: drop deprecated evolution predicates
author | Matt Harbison <matt_harbison@yahoo.com> |
---|---|
date | Fri, 02 Feb 2018 23:48:25 -0500 |
parents | 75d9dcb64e7d |
children | 78f33dedadd0 |
files | mercurial/revset.py |
diffstat | 1 files changed, 0 insertions(+), 24 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/revset.py Fri Feb 02 23:45:31 2018 -0500 +++ b/mercurial/revset.py Fri Feb 02 23:48:25 2018 -0500 @@ -509,14 +509,6 @@ return subset.filter(lambda r: c(r) or getbranch(r) in b, condrepr=lambda: '<branch %r>' % sorted(b)) -@predicate('bumped()', safe=True) -def bumped(repo, subset, x): - msg = ("'bumped()' is deprecated, " - "use 'phasedivergent()'") - repo.ui.deprecwarn(msg, '4.4') - - return phasedivergent(repo, subset, x) - @predicate('phasedivergent()', safe=True) def phasedivergent(repo, subset, x): """Mutable changesets marked as successors of public changesets. @@ -770,14 +762,6 @@ return subset.filter(dests.__contains__, condrepr=lambda: '<destination %r>' % sorted(dests)) -@predicate('divergent()', safe=True) -def divergent(repo, subset, x): - msg = ("'divergent()' is deprecated, " - "use 'contentdivergent()'") - repo.ui.deprecwarn(msg, '4.4') - - return contentdivergent(repo, subset, x) - @predicate('contentdivergent()', safe=True) def contentdivergent(repo, subset, x): """ @@ -2031,14 +2015,6 @@ def tagged(repo, subset, x): return tag(repo, subset, x) -@predicate('unstable()', safe=True) -def unstable(repo, subset, x): - msg = ("'unstable()' is deprecated, " - "use 'orphan()'") - repo.ui.deprecwarn(msg, '4.4') - - return orphan(repo, subset, x) - @predicate('orphan()', safe=True) def orphan(repo, subset, x): """Non-obsolete changesets with obsolete ancestors. (EXPERIMENTAL)