diff -r defabf63e969 -r 8ff1ecfadcd1 mercurial/wireprotoserver.py --- a/mercurial/wireprotoserver.py Tue Oct 08 15:15:37 2019 -0700 +++ b/mercurial/wireprotoserver.py Tue Oct 08 15:06:18 2019 -0700 @@ -679,7 +679,7 @@ _sshv1respondooberror( fout, ui.ferr, - b'cannot upgrade protocols multiple ' b'times', + b'cannot upgrade protocols multiple times', ) state = b'shutdown' continue @@ -787,7 +787,7 @@ _sshv1respondooberror( fout, ui.ferr, - b'malformed handshake protocol: ' b'missing %s' % line, + b'malformed handshake protocol: missing %s' % line, ) ok = False state = b'shutdown'