##// END OF EJS Templates
revset: drop deprecated evolution predicates
Matt Harbison -
r35910:00a56c83 default
parent child Browse files
Show More
@@ -509,14 +509,6 b' def branch(repo, subset, x):'
509 return subset.filter(lambda r: c(r) or getbranch(r) in b,
509 return subset.filter(lambda r: c(r) or getbranch(r) in b,
510 condrepr=lambda: '<branch %r>' % sorted(b))
510 condrepr=lambda: '<branch %r>' % sorted(b))
511
511
512 @predicate('bumped()', safe=True)
513 def bumped(repo, subset, x):
514 msg = ("'bumped()' is deprecated, "
515 "use 'phasedivergent()'")
516 repo.ui.deprecwarn(msg, '4.4')
517
518 return phasedivergent(repo, subset, x)
519
520 @predicate('phasedivergent()', safe=True)
512 @predicate('phasedivergent()', safe=True)
521 def phasedivergent(repo, subset, x):
513 def phasedivergent(repo, subset, x):
522 """Mutable changesets marked as successors of public changesets.
514 """Mutable changesets marked as successors of public changesets.
@@ -770,14 +762,6 b' def destination(repo, subset, x):'
770 return subset.filter(dests.__contains__,
762 return subset.filter(dests.__contains__,
771 condrepr=lambda: '<destination %r>' % sorted(dests))
763 condrepr=lambda: '<destination %r>' % sorted(dests))
772
764
773 @predicate('divergent()', safe=True)
774 def divergent(repo, subset, x):
775 msg = ("'divergent()' is deprecated, "
776 "use 'contentdivergent()'")
777 repo.ui.deprecwarn(msg, '4.4')
778
779 return contentdivergent(repo, subset, x)
780
781 @predicate('contentdivergent()', safe=True)
765 @predicate('contentdivergent()', safe=True)
782 def contentdivergent(repo, subset, x):
766 def contentdivergent(repo, subset, x):
783 """
767 """
@@ -2031,14 +2015,6 b' def tag(repo, subset, x):'
2031 def tagged(repo, subset, x):
2015 def tagged(repo, subset, x):
2032 return tag(repo, subset, x)
2016 return tag(repo, subset, x)
2033
2017
2034 @predicate('unstable()', safe=True)
2035 def unstable(repo, subset, x):
2036 msg = ("'unstable()' is deprecated, "
2037 "use 'orphan()'")
2038 repo.ui.deprecwarn(msg, '4.4')
2039
2040 return orphan(repo, subset, x)
2041
2042 @predicate('orphan()', safe=True)
2018 @predicate('orphan()', safe=True)
2043 def orphan(repo, subset, x):
2019 def orphan(repo, subset, x):
2044 """Non-obsolete changesets with obsolete ancestors. (EXPERIMENTAL)
2020 """Non-obsolete changesets with obsolete ancestors. (EXPERIMENTAL)
General Comments 0
You need to be logged in to leave comments. Login now