summaryrefslogtreecommitdiff
path: root/t/t9123-git-svn-rebuild-with-rewriteroot.sh
diff options
context:
space:
mode:
authorNanako Shiraishi <nanako3@lavabit.com>2008-09-08 10:02:05 (GMT)
committerJunio C Hamano <gitster@pobox.com>2008-09-08 21:18:04 (GMT)
commit16805d3e59250769f409480ca3cb739281bc906c (patch)
treec447912506cacebaf3b7e5496196aa99abafd256 /t/t9123-git-svn-rebuild-with-rewriteroot.sh
parent24fa13cbb7c520f787370b471b4f04652fbb68d5 (diff)
downloadgit-16805d3e59250769f409480ca3cb739281bc906c.zip
git-16805d3e59250769f409480ca3cb739281bc906c.tar.gz
git-16805d3e59250769f409480ca3cb739281bc906c.tar.bz2
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>
Diffstat (limited to 't/t9123-git-svn-rebuild-with-rewriteroot.sh')
-rwxr-xr-xt/t9123-git-svn-rebuild-with-rewriteroot.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/t/t9123-git-svn-rebuild-with-rewriteroot.sh b/t/t9123-git-svn-rebuild-with-rewriteroot.sh
index c18878f..363c1db 100755
--- a/t/t9123-git-svn-rebuild-with-rewriteroot.sh
+++ b/t/t9123-git-svn-rebuild-with-rewriteroot.sh
@@ -17,7 +17,7 @@ rm -rf import
test_expect_success 'init, fetch and checkout repository' '
git svn init --rewrite-root=http://invalid.invalid/ "$svnrepo" &&
git svn fetch
- git checkout -b mybranch remotes/git-svn
+ git checkout -b mybranch ${remotes_git_svn}
'
test_expect_success 'remove rev_map' '