sapling/hgext/convert
Brodie Rao c97e40185c convert/darcs: support changelogs with bytes 0x7F-0xFF (issue2411)
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.
2010-10-01 10:15:04 -05:00
..
__init__.py convert: help string cleanups 2010-09-10 00:36:01 +02:00
bzr.py convert: merge sources getmode() into getfile() 2010-05-09 21:52:34 +02:00
common.py convert: merge sources getmode() into getfile() 2010-05-09 21:52:34 +02:00
convcmd.py convert/progress: use plural and avoid retrieving 2010-07-30 10:38:54 +03:00
cvs.py convert: use encoding.encoding instead of locale.getpreferredencoding() 2010-08-18 10:53:52 -04:00
cvsps.py clean up remaining generic exceptions 2010-05-07 16:59:00 -05:00
darcs.py convert/darcs: support changelogs with bytes 0x7F-0xFF (issue2411) 2010-10-01 10:15:04 -05:00
filemap.py convert: merge sources getmode() into getfile() 2010-05-09 21:52:34 +02:00
git.py convert: merge sources getmode() into getfile() 2010-05-09 21:52:34 +02:00
gnuarch.py Use lexists() instead of exists() where appropriate 2010-09-20 21:46:56 +02:00
hg.py convert: merge sources getmode() into getfile() 2010-05-09 21:52:34 +02:00
monotone.py convert: merge sources getmode() into getfile() 2010-05-09 21:52:34 +02:00
p4.py p4: fix long line and bad spacing around % 2010-06-15 11:05:17 +02:00
subversion.py convert/svn: fix broken symlink renames in svn sink 2010-09-20 21:46:39 +02:00
transport.py many, many trivial check-code fixups 2010-01-25 00:05:27 -06:00