t/t91XX-svn: start removing use of "git-" from these tests
Subversion tests use too many "git-foo" form, so I am converting them
in two steps.
This first step replaces literal strings "remotes/git-svn" and "git-svn-id"
by introducing $remotes_git_svn and $git_svn_id constants defined as shell
variables. This will reduce the number of false hits from "git grep".
Signed-off-by: Nanako Shiraishi <nanako3@lavabit.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
maint
Nanako Shiraishi17 years agocommitted byJunio C Hamano
@ -215,7 +215,7 @@ test_expect_success "$name" "test_cmp a expected"
@@ -215,7 +215,7 @@ test_expect_success "$name" "test_cmp a expected"
test_expect_success 'exit if remote refs are ambigious' "
git config --add svn-remote.svn.fetch \
bar:refs/remotes/git-svn &&
bar:refs/${remotes_git_svn} &&
test_must_fail git-svn migrate
"
@ -223,7 +223,7 @@ test_expect_success 'exit if init-ing a would clobber a URL' '
@@ -223,7 +223,7 @@ test_expect_success 'exit if init-ing a would clobber a URL' '
test_expect_success 'dcommit fails to commit because of conflict' '
git-svn init "$svnrepo" &&
git-svn fetch &&
git reset --hard refs/remotes/git-svn &&
git reset --hard refs/${remotes_git_svn} &&
svn co "$svnrepo" t.svn &&
cd t.svn &&
echo fourth line from svn >> file &&
@ -56,7 +56,7 @@ test_expect_success 'dcommit fails to commit because of conflict' '
@@ -56,7 +56,7 @@ test_expect_success 'dcommit fails to commit because of conflict' '
'
test_expect_success 'dcommit does the svn equivalent of an index merge' "
git reset --hard refs/remotes/git-svn &&
git reset --hard refs/${remotes_git_svn} &&
echo 'index merge' > file2 &&
git update-index --add file2 &&
git commit -a -m 'index merge' &&
@ -77,7 +77,7 @@ test_expect_success 'commit another change from svn side' '
@@ -77,7 +77,7 @@ test_expect_success 'commit another change from svn side' '
'
test_expect_success 'multiple dcommit from git-svn will not clobber svn' "