diff -r defabf63e969 -r 8ff1ecfadcd1 mercurial/discovery.py --- a/mercurial/discovery.py Tue Oct 08 15:15:37 2019 -0700 +++ b/mercurial/discovery.py Tue Oct 08 15:06:18 2019 -0700 @@ -412,11 +412,11 @@ heads = scmutil.nodesummaries(repo, unsyncedheads) if heads is None: repo.ui.status( - _(b"remote has heads that are " b"not known locally\n") + _(b"remote has heads that are not known locally\n") ) elif branch is None: repo.ui.status( - _(b"remote has heads that are " b"not known locally: %s\n") + _(b"remote has heads that are not known locally: %s\n") % heads ) else: @@ -447,7 +447,7 @@ if errormsg is None: if branch not in (b'default', None): errormsg = _( - b"push creates new remote head %s " b"on branch '%s'!" + b"push creates new remote head %s on branch '%s'!" ) % (short(dhs[0]), branch) elif repo[dhs[0]].bookmarks(): errormsg = _(