Mercurial > hg
diff mercurial/context.py @ 19542:bd95621a2d56
basectx: move node from changectx
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Fri, 02 Aug 2013 16:48:19 -0500 |
parents | 421d49f2f8e2 |
children | 18f4951222f4 |
line wrap: on
line diff
--- a/mercurial/context.py Fri Aug 02 19:09:06 2013 -0500 +++ b/mercurial/context.py Fri Aug 02 16:48:19 2013 -0500 @@ -40,6 +40,8 @@ def rev(self): return self._rev + def node(self): + return self._node class changectx(basectx): """A changecontext object makes access to data related to a particular @@ -210,8 +212,6 @@ def manifestnode(self): return self._changeset[0] - def node(self): - return self._node def hex(self): return hex(self._node) def user(self):