--- a/mercurial/node.py +++ b/mercurial/node.py @@ -10,6 +10,7 @@ of the GNU General Public License, incor from demandload import demandload demandload(globals(), "binascii") +nullrev = -1 nullid = "\0" * 20 def hex(node):