revset: drop deprecated evolution predicates
authorMatt Harbison <matt_harbison@yahoo.com>
Fri, 02 Feb 2018 23:48:25 -0500
changeset 35892 00a56c83ab64
parent 35891 75d9dcb64e7d
child 35893 78f33dedadd0
revset: drop deprecated evolution predicates
mercurial/revset.py
--- 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)