--- a/mercurial/patch.py Fri Sep 18 17:37:51 2009 +0200
+++ b/mercurial/patch.py Sat Sep 19 01:15:38 2009 +0200
@@ -93,12 +93,12 @@
hgpatch = False
ignoretext = False
- ui.debug(_('found patch at byte %d\n') % m.start(0))
+ ui.debug('found patch at byte %d\n' % m.start(0))
diffs_seen += 1
cfp = cStringIO.StringIO()
for line in payload[:m.start(0)].splitlines():
if line.startswith('# HG changeset patch'):
- ui.debug(_('patch generated by hg export\n'))
+ ui.debug('patch generated by hg export\n')
hgpatch = True
# drop earlier commit message content
cfp.seek(0)
@@ -1155,7 +1155,7 @@
return internalpatch(patchname, ui, strip, cwd, files, eolmode)
except NoHunks:
patcher = util.find_exe('gpatch') or util.find_exe('patch') or 'patch'
- ui.debug(_('no valid hunks found; trying with %r instead\n') %
+ ui.debug('no valid hunks found; trying with %r instead\n' %
patcher)
if util.needbinarypatch():
args.append('--binary')