D1431: sshpeer: making the ssh error message configurable
zuza (Zuzanna Mroczek)
phabricator at mercurial-scm.org
Wed Nov 15 19:58:46 EST 2017
zuza updated this revision to Diff 3540.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D1431?vs=3539&id=3540
REVISION DETAIL
https://phab.mercurial-scm.org/D1431
AFFECTED FILES
mercurial/sshpeer.py
CHANGE DETAILS
diff --git a/mercurial/sshpeer.py b/mercurial/sshpeer.py
--- a/mercurial/sshpeer.py
+++ b/mercurial/sshpeer.py
@@ -204,8 +204,10 @@
self._pipeo = doublepipe(self.ui, self._pipeo, self._pipee)
def badresponse():
- self._abort(error.RepoError(_('no suitable response from '
- 'remote hg')))
+ self._abort(error.RepoError(self.ui.config(
+ "ssh",
+ "errormessage",
+ _("no suitable response from remote hg"))))
try:
# skip any noise generated by remote shell
To: zuza, #hg-reviewers, durham, mitrandir
Cc: mercurial-devel
More information about the Mercurial-devel
mailing list