basectx: move manifest from changectx
authorSean Farley <sean.michael.farley@gmail.com>
Mon, 05 Aug 2013 17:22:49 -0500
changeset 19553 64a99d972b9e
parent 19552 6b76070c4b54
child 19554 98f8875f4baa
basectx: move manifest from changectx
mercurial/context.py
--- a/mercurial/context.py	Mon Aug 05 17:22:18 2013 -0500
+++ b/mercurial/context.py	Mon Aug 05 17:22:49 2013 -0500
@@ -73,6 +73,8 @@
         return self._node
     def hex(self):
         return hex(self.node())
+    def manifest(self):
+        return self._manifest
 
 class changectx(basectx):
     """A changecontext object makes access to data related to a particular
@@ -209,8 +211,6 @@
 
     def changeset(self):
         return self._changeset
-    def manifest(self):
-        return self._manifest
     def manifestnode(self):
         return self._changeset[0]