Closed by commit rHG0671f0a19d93: patch: fix header.__repr__() to not have
`b''` prefixes in file names (authored by mharbison72).
This revision was automatically updated to reflect the committed changes.
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D7695?vs=18840&id=18885
CHANGES SINCE LAST ACTION
https://phab.mercurial-scm.org/D7695/new/
REVISION DETAIL
https://phab.mercurial-scm.org/D7695
AFFECTED FILES
mercurial/patch.py
CHANGE DETAILS
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 '' % (' '.join(map(repr, self.files(
+return '' % (
+' '.join(pycompat.rapply(pycompat.fsdecode, self.files()))
+)
def isnewfile(self):
return any(self.newfile_re.match(h) for h in self.header)
To: mharbison72, #hg-reviewers, dlax, pulkit
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel