mirror of
https://github.com/facebook/sapling.git
synced 2024-10-09 00:14:35 +03:00
c97e40185c
This is a followup to dd4fb29994d3, which only fixed the conversion of patches with UTF-8 metadata. This patch allows a changelog to have any bytes with values 0x7F-0xFF. It parses the XML changelog as Latin-1 and uses converter_source.recode() to decode the data as UTF-8/Latin-1. Caveats: - Since the convert extension doesn't provide any way to specify the source encoding, users are still limited to UTF-8 and Latin-1. - etree will still complain if the changelog has bytes with values 0x00-0x19. XML only allows printable characters. |
||
---|---|---|
.. | ||
__init__.py | ||
bzr.py | ||
common.py | ||
convcmd.py | ||
cvs.py | ||
cvsps.py | ||
darcs.py | ||
filemap.py | ||
git.py | ||
gnuarch.py | ||
hg.py | ||
monotone.py | ||
p4.py | ||
subversion.py | ||
transport.py |