diff -r defabf63e969 -r 8ff1ecfadcd1 mercurial/streamclone.py --- a/mercurial/streamclone.py Tue Oct 08 15:15:37 2019 -0700 +++ b/mercurial/streamclone.py Tue Oct 08 15:06:18 2019 -0700 @@ -468,14 +468,14 @@ """ if len(repo): raise error.Abort( - _(b'cannot apply stream clone bundle on non-empty ' b'repo') + _(b'cannot apply stream clone bundle on non-empty repo') ) filecount, bytecount, requirements = readbundle1header(fp) missingreqs = requirements - repo.supportedformats if missingreqs: raise error.Abort( - _(b'unable to apply stream clone: ' b'unsupported format: %s') + _(b'unable to apply stream clone: unsupported format: %s') % b', '.join(sorted(missingreqs)) ) @@ -715,7 +715,7 @@ missingreqs = [r for r in requirements if r not in repo.supported] if missingreqs: raise error.Abort( - _(b'unable to apply stream clone: ' b'unsupported format: %s') + _(b'unable to apply stream clone: unsupported format: %s') % b', '.join(sorted(missingreqs)) )