Mercurial > hg-stable
changeset 19555:613b70fedc4e
basectx: move mutable from changectx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Mon, 05 Aug 2013 18:19:19 -0500 |
parents | 98f8875f4baa |
children | 732ee7fff35a |
files | mercurial/context.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Mon Aug 05 18:19:04 2013 -0500 +++ b/mercurial/context.py Mon Aug 05 18:19:19 2013 -0500 @@ -77,6 +77,8 @@ return self._manifest def phasestr(self): return phases.phasenames[self.phase()] + def mutable(self): + return self.phase() > phases.public class changectx(basectx): """A changecontext object makes access to data related to a particular @@ -236,8 +238,6 @@ return self._repo.nodebookmarks(self._node) def phase(self): return self._repo._phasecache.phase(self._repo, self._rev) - def mutable(self): - return self.phase() > phases.public def hidden(self): return self._rev in repoview.filterrevs(self._repo, 'visible')