Mercurial > public > mercurial-scm > hg
comparison mercurial/revlog.py @ 208:0a37e9c8ad6c
revlog: remove some unnecessary imports
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
revlog: remove some unnecessary imports
manifest hash: 63c887eceb54c8bd5a10692a905fb79079057246
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (GNU/Linux)
iD8DBQFCnXASywK+sNU5EO8RAkxVAJ92do7puoVbgHE2whbow4MGKKv4pQCeMmms
bt2r/9oVoFclTh2dL3SaQ2Q=
=Jeuv
-----END PGP SIGNATURE-----
author | mpm@selenic.com |
---|---|
date | Wed, 01 Jun 2005 00:21:38 -0800 |
parents | 5d8553352d2e |
children | 2bfe525ef6ca |
comparison
equal
deleted
inserted
replaced
207:ec327cf0d3a9 | 208:0a37e9c8ad6c |
---|---|
6 # Copyright 2005 Matt Mackall <mpm@selenic.com> | 6 # Copyright 2005 Matt Mackall <mpm@selenic.com> |
7 # | 7 # |
8 # This software may be used and distributed according to the terms | 8 # This software may be used and distributed according to the terms |
9 # of the GNU General Public License, incorporated herein by reference. | 9 # of the GNU General Public License, incorporated herein by reference. |
10 | 10 |
11 import zlib, struct, sha, os, tempfile, binascii, heapq | 11 import zlib, struct, sha, binascii, heapq |
12 from mercurial import mdiff | 12 from mercurial import mdiff |
13 | 13 |
14 def hex(node): return binascii.hexlify(node) | 14 def hex(node): return binascii.hexlify(node) |
15 def bin(node): return binascii.unhexlify(node) | 15 def bin(node): return binascii.unhexlify(node) |
16 def short(node): return hex(node[:4]) | 16 def short(node): return hex(node[:4]) |