comparison mercurial/changelog.py @ 3893:6b4127c7d52a

Simplify i18n imports
author Matt Mackall <mpm@selenic.com>
date Thu, 14 Dec 2006 20:25:19 -0600
parents abaee83ce0a6
children dbc3846c09a1
comparison
equal deleted inserted replaced
3892:2eec996f2fb9 3893:6b4127c7d52a
4 # 4 #
5 # This software may be used and distributed according to the terms 5 # This software may be used and distributed according to the terms
6 # of the GNU General Public License, incorporated herein by reference. 6 # of the GNU General Public License, incorporated herein by reference.
7 7
8 from revlog import * 8 from revlog import *
9 from i18n import gettext as _ 9 from i18n import _
10 import os, time, util 10 import os, time, util
11 11
12 def _string_escape(text): 12 def _string_escape(text):
13 """ 13 """
14 >>> d = {'nl': chr(10), 'bs': chr(92), 'cr': chr(13), 'nul': chr(0)} 14 >>> d = {'nl': chr(10), 'bs': chr(92), 'cr': chr(13), 'nul': chr(0)}