Mercurial > hg-stable
changeset 19544:74924fa3236d
basectx: change _node to node() in hex
This allows a child class to overload the node() function and still share the
same code for hex().
author | Sean Farley <sean.michael.farley@gmail.com> |
---|---|
date | Fri, 02 Aug 2013 16:50:13 -0500 |
parents | 18f4951222f4 |
children | 5af7045b0b18 |
files | mercurial/context.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/context.py Fri Aug 02 16:49:01 2013 -0500 +++ b/mercurial/context.py Fri Aug 02 16:50:13 2013 -0500 @@ -43,7 +43,7 @@ def node(self): return self._node def hex(self): - return hex(self._node) + return hex(self.node()) class changectx(basectx): """A changecontext object makes access to data related to a particular