changeset 35108 | 8b1c887d52e7 |
parent 34257 | 2844c4bd5a39 |
child 35436 | 31d21309635b |
--- a/mercurial/sshpeer.py Thu Nov 16 15:01:21 2017 -0800 +++ b/mercurial/sshpeer.py Mon Nov 20 01:40:26 2017 -0800 @@ -204,8 +204,9 @@ self._pipeo = doublepipe(self.ui, self._pipeo, self._pipee) def badresponse(): - self._abort(error.RepoError(_('no suitable response from ' - 'remote hg'))) + msg = _("no suitable response from remote hg") + hint = self.ui.config("ui", "ssherrorhint") + self._abort(error.RepoError(msg, hint=hint)) try: # skip any noise generated by remote shell