Skip to content

Commit 88fce12

Browse files
avargitster
authored andcommitted
svn tests: remove legacy re-setup from init-clone test
Remove the immediate "rm -rf .git" from the start of this test. This was added back in 41337e2 (git-svn: add tests for command-line usage of init and clone commands, 2007-11-17) when there was a "trash" directory shared by all the tests, but ever since abc5d37 (Enable parallel tests, 2008-08-08) we've had per-test trash directories. So this setup can simply be removed. We could use TEST_NO_CREATE_REPO=true, but I don't think it's worth the effort to go out of our way to be different. It doesn't matter that we now have a redundant .git at the top-level. Signed-off-by: Ævar Arnfjörð Bjarmason <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 89b43f8 commit 88fce12

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

t/t9117-git-svn-init-clone.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,6 @@ test_description='git svn init/clone tests'
77

88
. ./lib-git-svn.sh
99

10-
# setup, run inside tmp so we don't have any conflicts with $svnrepo
11-
set -e
12-
rm -r .git
13-
mkdir tmp
14-
cd tmp
15-
1610
test_expect_success 'setup svnrepo' '
1711
mkdir project project/trunk project/branches project/tags &&
1812
echo foo > project/trunk/foo &&

0 commit comments

Comments
 (0)