--- a/mercurial/context.py Mon Aug 05 17:22:49 2013 -0500
+++ b/mercurial/context.py Mon Aug 05 18:19:04 2013 -0500
@@ -75,6 +75,8 @@
return hex(self.node())
def manifest(self):
return self._manifest
+ def phasestr(self):
+ return phases.phasenames[self.phase()]
class changectx(basectx):
"""A changecontext object makes access to data related to a particular
@@ -234,8 +236,6 @@
return self._repo.nodebookmarks(self._node)
def phase(self):
return self._repo._phasecache.phase(self._repo, self._rev)
- def phasestr(self):
- return phases.phasenames[self.phase()]
def mutable(self):
return self.phase() > phases.public
def hidden(self):