Squashed 'third_party/git/' content from commit cb71568594
git-subtree-dir: third_party/git git-subtree-split: cb715685942260375e1eb8153b0768a376e4ece7
This commit is contained in:
commit
1b593e1ea4
3629 changed files with 1139935 additions and 0 deletions
20
t/t9135-git-svn-moved-branch-empty-file.sh
Executable file
20
t/t9135-git-svn-moved-branch-empty-file.sh
Executable file
|
|
@ -0,0 +1,20 @@
|
|||
#!/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 &&
|
||||
git reset --hard origin/branch-c &&
|
||||
test_must_be_empty b1
|
||||
)
|
||||
'
|
||||
|
||||
test_done
|
||||
Loading…
Add table
Add a link
Reference in a new issue