diff mercurial/sshrepo.py @ 3275:7ae37d99d47e

ssh: make the error message more clear, add a testcase
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Fri, 06 Oct 2006 16:24:14 +0200
parents 75dcfe28da4a
children 8770b4870e22
line wrap: on
line diff
--- a/mercurial/sshrepo.py	Thu Oct 05 15:36:53 2006 -0700
+++ b/mercurial/sshrepo.py	Fri Oct 06 16:24:14 2006 +0200
@@ -70,7 +70,7 @@
             lines.append(l)
             max_noise -= 1
         else:
-            raise hg.RepoError(_("no response from remote hg"))
+            raise hg.RepoError(_("no suitable response from remote hg"))
 
         self.capabilities = ()
         lines.reverse()