--- a/mercurial/commands.py Wed Mar 07 23:21:11 2012 +0000
+++ b/mercurial/commands.py Thu Mar 08 13:35:27 2012 -0600
@@ -2904,7 +2904,7 @@
headless = ', '.join(b for b in branches - haveheads)
msg = _('no open branch heads found on branches %s')
if opts.get('rev'):
- msg += _(' (started at %s)' % opts['rev'])
+ msg += _(' (started at %s)') % opts['rev']
ui.warn((msg + '\n') % headless)
if not heads:
@@ -2997,7 +2997,7 @@
msg = _('use "hg help" for the full list of commands '
'or "hg -v" for details')
elif name and not full:
- msg = _('use "hg help %s" to show the full help text' % name)
+ msg = _('use "hg help %s" to show the full help text') % name
elif aliases:
msg = _('use "hg -v help%s" to show builtin aliases and '
'global options') % (name and " " + name or "")