Anton Gyllenberg | 39111f6 | 2009-02-11 00:38:45 +0200 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | test_description='test moved svn branch with missing empty files' |
| 4 | |
| 5 | . ./lib-git-svn.sh |
| 6 | test_expect_success 'load svn dumpfile' ' |
| 7 | svnadmin load "$rawsvnrepo" < "${TEST_DIRECTORY}/t9135/svn.dump" |
| 8 | ' |
| 9 | |
| 10 | test_expect_success 'clone using git svn' 'git svn clone -s "$svnrepo" x' |
| 11 | |
| 12 | test_expect_success 'test that b1 exists and is empty' ' |
Eric Wong | b186a26 | 2009-08-12 16:01:59 -0700 | [diff] [blame] | 13 | ( |
| 14 | cd x && |
Johan Herland | fe191fc | 2013-10-11 14:57:07 +0200 | [diff] [blame] | 15 | git reset --hard origin/branch-c && |
Eric Wong | b186a26 | 2009-08-12 16:01:59 -0700 | [diff] [blame] | 16 | test -f b1 && |
| 17 | ! test -s b1 |
| 18 | ) |
Anton Gyllenberg | 39111f6 | 2009-02-11 00:38:45 +0200 | [diff] [blame] | 19 | ' |
| 20 | |
| 21 | test_done |