Mercurial > hg
comparison mercurial/node.py @ 1541:bf4e7ef08741
fixed some stuff pychecker shows, marked unclear/wrong stuff with XXX
author | twaldmann@thinkmo.de |
---|---|
date | Mon, 14 Nov 2005 03:59:35 +0200 |
parents | d62130f99a73 |
children | fe1689273f84 |
comparison
equal
deleted
inserted
replaced
1540:8ca9f5b17257 | 1541:bf4e7ef08741 |
---|---|
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 import sha, binascii | 10 import binascii |
11 | 11 |
12 nullid = "\0" * 20 | 12 nullid = "\0" * 20 |
13 | 13 |
14 def hex(node): | 14 def hex(node): |
15 return binascii.hexlify(node) | 15 return binascii.hexlify(node) |