Mercurial > public > mercurial-scm > hg
comparison mercurial/changelog.py @ 6212:e75aab656f46
Remove unused imports
author | Joel Rosdahl <joel@rosdahl.net> |
---|---|
date | Thu, 06 Mar 2008 22:23:41 +0100 |
parents | f89fd07fc51d |
children | d60aa0308b02 |
comparison
equal
deleted
inserted
replaced
6211:f89fd07fc51d | 6212:e75aab656f46 |
---|---|
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 node import bin, hex, nullid | 8 from node import bin, hex, nullid |
9 from revlog import revlog | 9 from revlog import revlog |
10 from i18n import _ | 10 import util |
11 import os, time, util | |
12 | 11 |
13 def _string_escape(text): | 12 def _string_escape(text): |
14 """ | 13 """ |
15 >>> 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)} |
16 >>> s = "ab%(nl)scd%(bs)s%(bs)sn%(nul)sab%(cr)scd%(bs)s%(nl)s" % d | 15 >>> s = "ab%(nl)scd%(bs)s%(bs)sn%(nul)sab%(cr)scd%(bs)s%(nl)s" % d |