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 \
+ bar:refs/remotes/git-svn &&
+ git-svn migrate
+ "
+test_expect_failure 'exit if init-ing a would clobber a URL' "
+ git-repo-config --unset svn-remote.git-svn.fetch \
+ '^bar:refs/remotes/git-svn$' &&
+ git-svn init $svnrepo/bar
+ "
+
test_done