changeset 2437:2f5dbc24874a

sshrepo: fix bug in error formatting.
author Vadim Gelfer <vadim.gelfer@gmail.com>
date Thu, 15 Jun 2006 15:36:23 -0700
parents f910b91dd912
children a765f853439d
files mercurial/sshrepo.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/sshrepo.py	Thu Jun 15 13:27:57 2006 -0700
+++ b/mercurial/sshrepo.py	Thu Jun 15 15:36:23 2006 -0700
@@ -144,7 +144,7 @@
     def addchangegroup(self, cg, source):
         d = self.call("addchangegroup")
         if d:
-            raise hg.RepoError(_("push refused: %s"), d)
+            raise hg.RepoError(_("push refused: %s") % d)
 
         while 1:
             d = cg.read(4096)