Mercurial > hg
view tests/test-convert-svn-encoding @ 9484:c96d73dd956d
gendoc: do not wrap encoded string
- it breaks multi-byte characters
- it is not needed since Docutils will take care of wrapping the
strings as necessary
author | Martin Geisler <mg@lazybytes.net> |
---|---|
date | Sun, 27 Sep 2009 10:04:51 +0200 |
parents | 0332f8b44e54 |
children |
line wrap: on
line source
#!/bin/sh "$TESTDIR/hghave" svn svn-bindings || exit 80 echo "[extensions]" >> $HGRCPATH echo "convert = " >> $HGRCPATH svnadmin create svn-repo cat "$TESTDIR/svn/encoding.svndump" | svnadmin load svn-repo > /dev/null echo '% convert while testing all possible outputs' hg --debug convert svn-repo A-hg > /dev/null cd A-hg hg up echo '% check tags are in UTF-8' python -c "print '\n'.join([('%r' % l) for l in file('.hgtags', 'rb').readlines()])" cd ..