basefilectx: move manifest from filectx
authorSean Farley <sean.michael.farley@gmail.com>
Sun, 11 Aug 2013 22:55:09 -0500
changeset 19600 12cdff44fdc4
parent 19599 66d83efac20a
child 19601 f284907631f5
basefilectx: move manifest from filectx
mercurial/context.py
--- a/mercurial/context.py	Sun Aug 11 22:54:58 2013 -0500
+++ b/mercurial/context.py	Sun Aug 11 22:55:09 2013 -0500
@@ -509,6 +509,8 @@
         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 @@
         return filectx(self._repo, self._path, fileid=fileid,
                        filelog=self._filelog)
 
-    def manifest(self):
-        return self._changectx.manifest()
     def changectx(self):
         return self._changectx