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