changeset 8413:36448afdadd4

context: add new manifestnode method
author Matt Mackall <mpm@selenic.com>
date Thu, 14 May 2009 13:21:20 -0500
parents 2bf4f380f6ab
children 2348ce25849b
files mercurial/context.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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