mercurial/obsolete.py
changeset 33779 9fa874fb34e1
parent 33778 f3f06c260e9e
child 34379 6b724caa878d
--- a/mercurial/obsolete.py	Fri Aug 04 19:36:27 2017 +0200
+++ b/mercurial/obsolete.py	Fri Aug 04 19:39:34 2017 +0200
@@ -942,9 +942,16 @@
     """the set of obsolete parents without non obsolete descendants"""
     return getrevs(repo, 'obsolete') - getrevs(repo, 'suspended')
 
-
 @cachefor('bumped')
 def _computebumpedset(repo):
+    msg = ("'bumped' volatile set is deprecated, "
+           "use 'phasedivergent'")
+    repo.ui.deprecwarn(msg, '4.4')
+
+    return _computephasedivergentset(repo)
+
+@cachefor('phasedivergent')
+def _computephasedivergentset(repo):
     """the set of revs trying to obsolete public revisions"""
     bumped = set()
     # util function (avoid attribute lookup in the loop)