diff mercurial/commands.py @ 5542:253736bb0dc9

i18n: fix complaints from pygettext
author Matt Mackall <mpm@selenic.com>
date Tue, 20 Nov 2007 15:54:25 -0600
parents dcbda0c4c3eb
children de620356064f
line wrap: on
line diff
--- a/mercurial/commands.py	Tue Nov 20 15:46:20 2007 -0600
+++ b/mercurial/commands.py	Tue Nov 20 15:54:25 2007 -0600
@@ -1629,7 +1629,7 @@
                 if opts.get('exact'):
                     if hex(n) != nodeid:
                         repo.rollback()
-                        raise util.Abort(_('patch is damaged' +
+                        raise util.Abort(_('patch is damaged'
                                            ' or loses information'))
             finally:
                 os.unlink(tmpname)
@@ -1937,7 +1937,7 @@
         if len(heads) == 1:
             msg = _('there is nothing to merge')
             if parent != repo.lookup(repo.workingctx().branch()):
-                msg = _('%s - use "hg update" instead' % msg)
+                msg = _('%s - use "hg update" instead') % msg
             raise util.Abort(msg)
 
         if parent not in heads: