changeset 43943 | 0671f0a19d93 |
parent 43906 | 727cf6acadfe |
child 44060 | a61287a95dc3 |
--- a/mercurial/patch.py Wed Dec 18 11:11:40 2019 -0800 +++ b/mercurial/patch.py Tue Dec 17 23:33:35 2019 -0500 @@ -963,7 +963,9 @@ return self.files()[-1] def __repr__(self): - return '<header %s>' % (' '.join(map(repr, self.files()))) + return '<header %s>' % ( + ' '.join(pycompat.rapply(pycompat.fsdecode, self.files())) + ) def isnewfile(self): return any(self.newfile_re.match(h) for h in self.header)