| test_description='test that git handles an svn repository with empty symlinks' |
| test_expect_success 'load svn dumpfile' ' |
| svnadmin load "$rawsvnrepo" <<EOF |
| SVN-fs-dump-format-version: 2 |
| UUID: 60780f9a-7df5-43b4-83ab-60e2c0673ef7 |
| 2008-11-26T07:17:27.590577Z |
| 2008-11-26T07:18:03.511836Z |
| Text-content-md5: d41d8cd98f00b204e9800998ecf8427e |
| 2008-11-27T03:55:31.601672Z |
| Text-content-md5: 92ca4fe7a9721f877f765c252dcd66c9 |
| test_expect_success 'clone using git svn' 'git svn clone -r1 "$svnrepo" x' |
| test_expect_success '"bar" is an empty file' 'test -f x/bar && ! test -s x/bar' |
| test_expect_success 'get "bar" => symlink fix from svn' \ |
| '(cd x && git svn rebase)' |
| test_expect_success '"bar" becomes a symlink' 'test -L x/bar' |