# HG changeset patch # User Sean Farley # Date 2013-08-12 03:54:58 # Node ID 66d83efac20afa4d44d4d0b1d1e4ecfbc39d37c7 # Parent e8ef893a3150d72e8b02548617c9d58cec4c0319 basefilectx: move phasestr from filectx diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -507,6 +507,8 @@ class basefilectx(object): return self._changectx.extra() def phase(self): return self._changectx.phase() + def phasestr(self): + return self._changectx.phasestr() class filectx(basefilectx): """A filecontext object makes access to data related to a particular @@ -563,8 +565,6 @@ class filectx(basefilectx): return filectx(self._repo, self._path, fileid=fileid, filelog=self._filelog) - def phasestr(self): - return self._changectx.phasestr() def manifest(self): return self._changectx.manifest() def changectx(self):