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