httppeer: unify hint message for PeerTransportError stable
authorFUJIWARA Katsunori <foozy@lares.dti.ne.jp>
Mon, 01 May 2017 05:52:36 +0900
branchstable
changeset 32086 b59a292d0a53
parent 32085 2a2744dffecf
child 32087 e1938d6051da
httppeer: unify hint message for PeerTransportError Another raising PeerTransportError for "incomplete response" in httppeer.py uses this (changed) hint message. This unification reduces cost of translation.
mercurial/httppeer.py
--- a/mercurial/httppeer.py	Mon May 01 05:52:36 2017 +0900
+++ b/mercurial/httppeer.py	Mon May 01 05:52:36 2017 +0900
@@ -80,7 +80,7 @@
             except httplib.HTTPException as e:
                 raise error.PeerTransportError(
                     _('HTTP request error (%s)') % e,
-                    hint=_('this may be an intermittent failure; '
+                    hint=_('this may be an intermittent network failure; '
                            'if the error persists, consider contacting the '
                            'network or server operator'))