summaryrefslogtreecommitdiff
path: root/t/t9100-git-svn-basic.sh
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2007-02-13 17:38:58 -0800
committerEric Wong <normalperson@yhbt.net>2007-02-23 00:57:12 -0800
commitccb6b6f5b50bb32f90222a3e801a1901bf0b5657 (patch)
treea267be19cbe0f8598119b9f68a5c8b9fa1f9fe4a /t/t9100-git-svn-basic.sh
parent3bc718ba66f8b101b4017e778138660d66829312 (diff)
downloadgit-ccb6b6f5b50bb32f90222a3e801a1901bf0b5657.tar.gz
t910*: s/repo-config/config/g; poke around possible race conditions
Some of the repo-config => config renaming missed the git-svn tests; so I'm just renaming them to be consisten with the rest of the modern git. Also, some of the newer tests didn't have 'poke' in them to workaround race conditions on fast machines. This adds places where they can _possibly_ occur; but I don't have fast enough hardware to trigger them. Signed-off-by: Eric Wong <normalperson@yhbt.net>
Diffstat (limited to 't/t9100-git-svn-basic.sh')
-rwxr-xr-xt/t9100-git-svn-basic.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t9100-git-svn-basic.sh b/t/t9100-git-svn-basic.sh
index 8b6c8ffe10..7dcfc7e7db 100755
--- a/t/t9100-git-svn-basic.sh
+++ b/t/t9100-git-svn-basic.sh
@@ -214,7 +214,7 @@ EOF
test_expect_success "$name" "diff -u a expected"
test_expect_failure 'exit if remote refs are ambigious' "
- git-repo-config --add svn-remote.svn.fetch \
+ git-config --add svn-remote.svn.fetch \
bar:refs/remotes/git-svn &&
git-svn migrate
"
@@ -222,7 +222,7 @@ test_expect_failure 'exit if remote refs are ambigious' "
test_expect_failure 'exit if init-ing a would clobber a URL' "
svnadmin create ${PWD}/svnrepo2 &&
svn mkdir -m 'mkdir bar' ${svnrepo}2/bar &&
- git-repo-config --unset svn-remote.svn.fetch \
+ git-config --unset svn-remote.svn.fetch \
'^bar:refs/remotes/git-svn$' &&
git-svn init ${svnrepo}2/bar
"
@@ -230,9 +230,9 @@ test_expect_failure 'exit if init-ing a would clobber a URL' "
test_expect_success \
'init allows us to connect to another directory in the same repo' "
git-svn init -i bar $svnrepo/bar &&
- git repo-config --get svn-remote.svn.fetch \
+ git config --get svn-remote.svn.fetch \
'^bar:refs/remotes/bar$' &&
- git repo-config --get svn-remote.svn.fetch \
+ git config --get svn-remote.svn.fetch \
'^:refs/remotes/git-svn$'
"