aboutsummaryrefslogtreecommitdiff
path: root/t/t9135-git-svn-moved-branch-empty-file.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2009-02-11 10:20:12 -0800
committerJunio C Hamano <gitster@pobox.com>2009-02-11 10:20:12 -0800
commit7b73d828f02e885f4e9619ff1a2b43e3d8dcf259 (patch)
tree8838c26a9f63055c6ad24abf17c1ad97c5e977f3 /t/t9135-git-svn-moved-branch-empty-file.sh
parent9e5b80cd87a511f3403b6f88f87ef40844695f6b (diff)
parent39111f6b7aeb5a7bc57731a6c8f0c3b8178873c8 (diff)
downloadgit-7b73d828f02e885f4e9619ff1a2b43e3d8dcf259.tar.gz
git-7b73d828f02e885f4e9619ff1a2b43e3d8dcf259.tar.xz
Merge git://git.bogomips.org/git-svn
* git://git.bogomips.org/git-svn: test case for regression caused by git-svn empty symlink fix git-svn: fix broken symlink workaround when switching branches git-svn: Print revision while searching for earliest use of path git-svn: abstract out a block into new method other_gs() git-svn: allow disabling expensive broken symlink checks
Diffstat (limited to 't/t9135-git-svn-moved-branch-empty-file.sh')
-rwxr-xr-xt/t9135-git-svn-moved-branch-empty-file.sh16
1 files changed, 16 insertions, 0 deletions
diff --git a/t/t9135-git-svn-moved-branch-empty-file.sh b/t/t9135-git-svn-moved-branch-empty-file.sh
new file mode 100755
index 000000000..03705fa4c
--- /dev/null
+++ b/t/t9135-git-svn-moved-branch-empty-file.sh
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+test_description='test moved svn branch with missing empty files'
+
+. ./lib-git-svn.sh
+test_expect_success 'load svn dumpfile' '
+ svnadmin load "$rawsvnrepo" < "${TEST_DIRECTORY}/t9135/svn.dump"
+ '
+
+test_expect_success 'clone using git svn' 'git svn clone -s "$svnrepo" x'
+
+test_expect_success 'test that b1 exists and is empty' '
+ (cd x && test -f b1 && ! test -s b1)
+ '
+
+test_done