[PATCH 1 of 2] tests: unify test-patchbomb

Christian Ebert blacktrash at gmx.net
Tue Aug 17 06:03:58 CDT 2010


* Martin Geisler on Tuesday, August 17, 2010 at 12:20:55 +0200
> I can also get hold of the raw bytes, but I normally pipe the message
> From Gnus as UTF-8 text since this was what worked last time I had to
> import a patch with an author name containing non-ASCII characters.

Well, the test in question is about non-utf-8:

iso-8859-1 patch:
  $ python -c 'fp = open("isolatin", "wb"); fp.write("h\xF6mma!\n"); fp.close();'
  $ hg commit -A -d '5 0' -m 'charset=us-ascii; content-transfer-encoding: 8bit'
  adding isolatin

c
-- 
\black\trash movie    _MORALISK  ANSTALT_
                        "Nix verstanden."

--->> http://www.blacktrash.org/underdogma/moraliskanstalt.php


More information about the Mercurial-devel mailing list