3 # Copyright (c) 2007 Eric Wong
6 # Don't run this test by default unless the user really wants it
7 # I don't like the idea of taking a port and possibly leaving a
8 # daemon running on a users system if the test fails.
9 # Not all git users will need to interact with SVN.
10 test -z "$SVNSERVE_PORT" && exit 0
12 test_description
='git-svn dcommit new files over svn:// test'
17 svnserve
--listen-port $SVNSERVE_PORT \
20 --listen-host 127.0.0.1 &
23 test_expect_success
'start tracking an empty repo' "
24 svn mkdir -m 'empty dir' $svnrepo/empty-dir &&
25 echo anon-access = write >> $rawsvnrepo/conf/svnserve.conf &&
27 git svn init svn://127.0.0.1:$SVNSERVE_PORT &&
31 test_expect_success
'create files in new directory with dcommit' "
33 echo hello > git-new-dir/world &&
34 git update-index --add git-new-dir/world &&
35 git commit -m hello &&