Submitter | phabricator |
---|---|
Date | Dec. 18, 2019, 4:34 a.m. |
Message ID | <differential-rev-PHID-DREV-nkp6vtr3m4yaum4vx6od-req@mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/43951/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/patch.py b/mercurial/patch.py --- a/mercurial/patch.py +++ b/mercurial/patch.py @@ -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)