diff mercurial/context.py @ 33798:d4b7496f7d0b

obsolete: rename unstable volatile set into orphan volatile set The renaming is done according to https://www.mercurial-scm.org/wiki/CEDVocabulary. Differential Revision: https://phab.mercurial-scm.org/D253
author Boris Feld <boris.feld@octobus.net>
date Fri, 04 Aug 2017 19:27:39 +0200
parents 52c5ff856b49
children f3f06c260e9e
line wrap: on
line diff
--- a/mercurial/context.py	Thu Aug 03 14:08:39 2017 +0200
+++ b/mercurial/context.py	Fri Aug 04 19:27:39 2017 +0200
@@ -211,7 +211,7 @@
 
     def orphan(self):
         """True if the changeset is not obsolete but it's ancestor are"""
-        return self.rev() in obsmod.getrevs(self._repo, 'unstable')
+        return self.rev() in obsmod.getrevs(self._repo, 'orphan')
 
     def bumped(self):
         msg = ("'context.bumped' is deprecated, "