3 test_description
='check svn dumpfile importer'
14 test_expect_success
'empty dump' '
16 echo "SVN-fs-dump-format-version: 2" >input &&
17 test-svn-fe input >stream &&
18 git fast-import <stream
21 test_expect_success
'v3 dumps not supported' '
23 echo "SVN-fs-dump-format-version: 3" >input &&
24 test_must_fail test-svn-fe input >stream &&
28 test_expect_success
'set up svn repo' '
29 svnconf=$PWD/svnconf &&
30 mkdir -p "$svnconf" &&
33 svnadmin -h >/dev/null 2>&1 &&
34 svnadmin create simple-svn &&
35 svnadmin load simple-svn <"$TEST_DIRECTORY/t9135/svn.dump" &&
36 svn export --config-dir "$svnconf" "file://$PWD/simple-svn" simple-svnco
38 test_set_prereq SVNREPO
42 test_expect_success SVNREPO
't9135/svn.dump' '
43 git init simple-git &&
44 test-svn-fe "$TEST_DIRECTORY/t9135/svn.dump" >simple.fe &&
47 git fast-import <../simple.fe
53 git fetch ../simple-git master &&
54 git diff --exit-code FETCH_HEAD