X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=t%2Ft9123-git-svn-rebuild-with-rewriteroot.sh;h=fd8184787fba13bbbf3f1ef377ad3f979ef8f47a;hb=5acb623b72bde9ec96c48a8bb8f50e61371705ee;hp=045521615c64d1ae938524b0424e1e4260ca8c54;hpb=c22e5e994a12b1c986427e8bdba6d86899f1aa30;p=git.git diff --git a/t/t9123-git-svn-rebuild-with-rewriteroot.sh b/t/t9123-git-svn-rebuild-with-rewriteroot.sh index 045521615..fd8184787 100755 --- a/t/t9123-git-svn-rebuild-with-rewriteroot.sh +++ b/t/t9123-git-svn-rebuild-with-rewriteroot.sh @@ -8,15 +8,15 @@ test_description='git svn respects rewriteRoot during rebuild' . ./lib-git-svn.sh mkdir import -cd import +(cd import touch foo svn_cmd import -m 'import for git svn' . "$svnrepo" >/dev/null -cd .. +) rm -rf import test_expect_success 'init, fetch and checkout repository' ' git svn init --rewrite-root=http://invalid.invalid/ "$svnrepo" && - git svn fetch + git svn fetch && git checkout -b mybranch ${remotes_git_svn} '