context: add new manifestnode method
authorMatt Mackall <mpm@selenic.com>
Thu, 14 May 2009 13:21:20 -0500
changeset 8413 36448afdadd4
parent 8412 2bf4f380f6ab
child 8414 2348ce25849b
context: add new manifestnode method
mercurial/context.py
--- a/mercurial/context.py	Thu May 14 13:21:20 2009 -0500
+++ b/mercurial/context.py	Thu May 14 13:21:20 2009 -0500
@@ -85,6 +85,7 @@
 
     def changeset(self): return self._changeset
     def manifest(self): return self._manifest
+    def manifestnode(self): return self._changeset[0]
 
     def rev(self): return self._rev
     def node(self): return self._node