3 # Copyright (c) 2008 Jan Krüger
6 test_description='git svn respects rewriteRoot during rebuild'
13 svn import -m 'import for git svn' . "$svnrepo" >/dev/null
17 test_expect_success 'init, fetch and checkout repository' '
18 git svn init --rewrite-root=http://invalid.invalid/ "$svnrepo" &&
20 git checkout -b mybranch ${remotes_git_svn}
23 test_expect_success 'remove rev_map' '
24 rm "$GIT_SVN_DIR"/.rev_map.*
27 test_expect_success 'rebuild rev_map' '
28 git svn rebase >/dev/null