diff -r 4d59cc8bda65 -r 727cf6acadfe mercurial/patch.py --- a/mercurial/patch.py Sun Dec 15 23:46:10 2019 -0500 +++ b/mercurial/patch.py Mon Dec 16 23:27:17 2019 -0500 @@ -963,7 +963,7 @@ return self.files()[-1] def __repr__(self): - return b'
' % (b' '.join(map(repr, self.files()))) + return '
' % (' '.join(map(repr, self.files()))) def isnewfile(self): return any(self.newfile_re.match(h) for h in self.header)