comparison mercurial/revlog.py @ 1400:cf9a1233738a

i18n first part: make '_' available for files who need it
author Benoit Boissinot <benoit.boissinot@ens-lyon.org
date Tue, 18 Oct 2005 18:37:48 -0700
parents 67779d34cb52
children 9d2c2e6b32b5
comparison
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