# HG changeset patch # User Matt Mackall # Date 2009-05-14 18:21:20 # Node ID 36448afdadd4c79dde6de1551990803a75e3425e # Parent 2bf4f380f6ab5fd3c03d40f0c450873752becd55 context: add new manifestnode method diff --git a/mercurial/context.py b/mercurial/context.py --- a/mercurial/context.py +++ b/mercurial/context.py @@ -85,6 +85,7 @@ class changectx(object): 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