[PATCH] tests: Use 'hexdump' to avoid binary characters in test outputs
Martin Geisler
mg at lazybytes.net
Sat May 16 18:21:13 CDT 2009
Marti Raudsepp <marti at juffo.org> writes:
> There's obviously no end of problems with having binary files in
> repositories; in particular, merges can be problematic, and patches
> use the opaque GIT binary format, as can be seen in the recent post
> [PATCH] hgweb: fix tab alignment in file view
Yeah, that has been annoying me as well!
> So this patch works around binary content in test outputs in
> test-hgweb-commands.out and test-simplemerge-cmd.out
I've pushed (e1f4343db740) a slightly differnet patch to mercurial-crew:
instead of depending on a new tool I made a small helper in Python. But
it's the same idea, so I put your name on it :-)
> There are two more files with binary characters that I didn't touch:
> test-diff-color.out and test-status-color.out
Cool -- it seems that the escape sequences used for color output are not
enough to trigger the Git format, so I agree that we should leave these
as they are.
--
Martin Geisler
VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090517/67693d88/attachment.pgp
More information about the Mercurial-devel
mailing list