test_expect_success "$name" "diff -u a expected"
test_expect_failure 'exit if remote refs are ambigious' "
- git-repo-config --add svn-remote.git-svn.fetch \
+ git-config --add svn-remote.svn.fetch \
bar:refs/remotes/git-svn &&
git-svn migrate
"
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.git-svn.fetch \
+ git-config --unset svn-remote.svn.fetch \
'^bar:refs/remotes/git-svn$' &&
git-svn init ${svnrepo}2/bar
"
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.git-svn.fetch \
+ git config --get svn-remote.svn.fetch \
'^bar:refs/remotes/bar$' &&
- git repo-config --get svn-remote.git-svn.fetch \
+ git config --get svn-remote.svn.fetch \
'^:refs/remotes/git-svn$'
"