mercurial/localrepo.py
changeset 8908 105343f9f744
parent 8813 db3c1ab0e632
child 8916 3df8dbf706b0
--- a/mercurial/localrepo.py	Thu Jun 18 16:56:03 2009 -0500
+++ b/mercurial/localrepo.py	Fri Jun 19 14:28:29 2009 +0800
@@ -77,7 +77,7 @@
             s = os.path.realpath(self.opener("sharedpath").read())
             if not os.path.exists(s):
                 raise error.RepoError(
-                    _('.hg/sharedpath points to nonexistent directory %s' % s))
+                    _('.hg/sharedpath points to nonexistent directory %s') % s)
             self.sharedpath = s
         except IOError, inst:
             if inst.errno != errno.ENOENT:
@@ -1515,8 +1515,8 @@
             if warn:
                 if not rheads: # new branch requires --force
                     self.ui.warn(_("abort: push creates new"
-                                   " remote branch '%s'!\n" %
-                                   self[updatelh[0]].branch()))
+                                   " remote branch '%s'!\n") %
+                                   self[updatelh[0]].branch())
                 else:
                     self.ui.warn(_("abort: push creates new remote heads!\n"))