Mercurial > public > mercurial-scm > hg-stable
comparison mercurial/node.py @ 3877:abaee83ce0a6
Replace demandload with new demandimport
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Wed, 13 Dec 2006 13:27:09 -0600 |
parents | 3b4e00cba57a |
children | e45fc5d03798 |
comparison
equal
deleted
inserted
replaced
3876:1e0b94cfba0e | 3877:abaee83ce0a6 |
---|---|
5 | 5 |
6 This software may be used and distributed according to the terms | 6 This software may be used and distributed according to the terms |
7 of the GNU General Public License, incorporated herein by reference. | 7 of the GNU General Public License, incorporated herein by reference. |
8 """ | 8 """ |
9 | 9 |
10 from demandload import demandload | 10 import binascii |
11 demandload(globals(), "binascii") | |
12 | 11 |
13 nullrev = -1 | 12 nullrev = -1 |
14 nullid = "\0" * 20 | 13 nullid = "\0" * 20 |
15 | 14 |
16 def hex(node): | 15 def hex(node): |