Show More
@@ -75,6 +75,8 b' class basectx(object):' | |||||
75 | return hex(self.node()) |
|
75 | return hex(self.node()) | |
76 | def manifest(self): |
|
76 | def manifest(self): | |
77 | return self._manifest |
|
77 | return self._manifest | |
|
78 | def phasestr(self): | |||
|
79 | return phases.phasenames[self.phase()] | |||
78 |
|
80 | |||
79 | class changectx(basectx): |
|
81 | class changectx(basectx): | |
80 | """A changecontext object makes access to data related to a particular |
|
82 | """A changecontext object makes access to data related to a particular | |
@@ -234,8 +236,6 b' class changectx(basectx):' | |||||
234 | return self._repo.nodebookmarks(self._node) |
|
236 | return self._repo.nodebookmarks(self._node) | |
235 | def phase(self): |
|
237 | def phase(self): | |
236 | return self._repo._phasecache.phase(self._repo, self._rev) |
|
238 | return self._repo._phasecache.phase(self._repo, self._rev) | |
237 | def phasestr(self): |
|
|||
238 | return phases.phasenames[self.phase()] |
|
|||
239 | def mutable(self): |
|
239 | def mutable(self): | |
240 | return self.phase() > phases.public |
|
240 | return self.phase() > phases.public | |
241 | def hidden(self): |
|
241 | def hidden(self): |
General Comments 0
You need to be logged in to leave comments.
Login now