tests/test-convert-svn-encoding
branchstable
changeset 12795 3cb0559e44d0
parent 12793 469850088fc1
parent 12794 6bf8d48bec8e
child 12796 bc69ba99e34b
equal deleted inserted replaced
12793:469850088fc1 12795:3cb0559e44d0
     1 #!/bin/sh
       
     2 
       
     3 "$TESTDIR/hghave" svn svn-bindings || exit 80
       
     4 
       
     5 echo "[extensions]" >> $HGRCPATH
       
     6 echo "convert = " >> $HGRCPATH
       
     7 
       
     8 svnadmin create svn-repo
       
     9 cat "$TESTDIR/svn/encoding.svndump" | svnadmin load svn-repo > /dev/null
       
    10 
       
    11 echo '% convert while testing all possible outputs'
       
    12 hg --debug convert svn-repo A-hg > /dev/null
       
    13 cd A-hg
       
    14 hg up
       
    15 echo '% check tags are in UTF-8'
       
    16 python -c "print '\n'.join([('%r' % l) for l in file('.hgtags', 'rb').readlines()])"
       
    17 cd ..