summaryrefslogtreecommitdiff
path: root/t/t9123-git-svn-rebuild-with-rewriteroot.sh
diff options
context:
space:
mode:
Diffstat (limited to 't/t9123-git-svn-rebuild-with-rewriteroot.sh')
-rwxr-xr-xt/t9123-git-svn-rebuild-with-rewriteroot.sh8
1 files changed, 4 insertions, 4 deletions
diff --git a/t/t9123-git-svn-rebuild-with-rewriteroot.sh b/t/t9123-git-svn-rebuild-with-rewriteroot.sh
index cf0415274c..fd8184787f 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 import -m 'import for git svn' . "$svnrepo" >/dev/null
-cd ..
+ svn_cmd import -m 'import for git svn' . "$svnrepo" >/dev/null
+)
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}
'