diff mercurial/commands.py @ 16231:ce292f1379ba stable

i18n: fix all remaining uses of % inside _()
author Matt Mackall <mpm@selenic.com>
date Thu, 08 Mar 2012 13:35:27 -0600
parents d4d35fd0889d
children 877aea86fb73 8ca7187d479f
line wrap: on
line diff
--- 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 "")