mercurial/revlog.py
changeset 1400 cf9a1233738a
parent 1393 67779d34cb52
child 1402 9d2c2e6b32b5
equal deleted inserted replaced
1399:9a70776e355e 1400:cf9a1233738a
     9 This software may be used and distributed according to the terms
     9 This software may be used and distributed according to the terms
    10 of the GNU General Public License, incorporated herein by reference.
    10 of the GNU General Public License, incorporated herein by reference.
    11 """
    11 """
    12 
    12 
    13 from node import *
    13 from node import *
       
    14 from i18n import gettext as _
    14 from demandload import demandload
    15 from demandload import demandload
    15 demandload(globals(), "binascii errno heapq mdiff sha struct zlib")
    16 demandload(globals(), "binascii errno heapq mdiff sha struct zlib")
    16 
    17 
    17 def hash(text, p1, p2):
    18 def hash(text, p1, p2):
    18     """generate a hash from the given text and its parent hashes
    19     """generate a hash from the given text and its parent hashes