test-reach: test get_merge_bases_many
[gitweb.git] / t / t9104-git-svn-follow-parent.sh
index a735fa37170fca27b48fba218a408cb2ea6bac8a..5e0ad1917736591b50e65169216bd5fe80193989 100755 (executable)
@@ -215,7 +215,10 @@ test_expect_success "multi-fetch continues to work" "
        "
 
 test_expect_success "multi-fetch works off a 'clean' repository" '
-       rm -r "$GIT_DIR/svn" "$GIT_DIR/refs/remotes" "$GIT_DIR/logs" &&
+       rm -rf "$GIT_DIR/svn" &&
+       git for-each-ref --format="option no-deref%0adelete %(refname)" refs/remotes |
+       git update-ref --stdin &&
+       git reflog expire --all --expire=all &&
        mkdir "$GIT_DIR/svn" &&
        git svn multi-fetch
        '