3 test_description='test that git handles an svn repository with missing md5sums'
7 # Loading a node from a svn dumpfile without a Text-Content-Length
8 # field causes svn to neglect to store or report an md5sum. (it will
9 # calculate one if you had put Text-Content-Length: 0). This showed
10 # up in a repository creted with cvs2svn.
12 cat > dumpfile.svn <<EOF
13 SVN-fs-dump-format-version: 1
16 Prop-content-length: 98
30 2007-05-06T12:37:01.153339Z
33 Node-path: md5less-file
36 Prop-content-length: 10
43 test_expect_success 'load svn dumpfile' 'svnadmin load "$rawsvnrepo" < dumpfile.svn'
45 test_expect_success 'initialize git-svn' 'git-svn init "$svnrepo"'
46 test_expect_success 'fetch revisions from svn' 'git-svn fetch'