Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-svn: allow a local target directory to be specified for init
[gitweb.git]
/
contrib
/
git-svn
/
t
/
lib-git-svn.sh
diff --git
a/contrib/git-svn/t/lib-git-svn.sh
b/contrib/git-svn/t/lib-git-svn.sh
index 2843258fc478d9d18d563aa6ac3428e73e431f53..d7f972a0c8fd0163f97c2bc4cd29fe2d1e001002 100644
(file)
--- a/
contrib/git-svn/t/lib-git-svn.sh
+++ b/
contrib/git-svn/t/lib-git-svn.sh
@@
-33,7
+33,13
@@
svnrepo=$PWD/svnrepo
set -e
-svnadmin create $svnrepo
+if svnadmin create --help | grep fs-type >/dev/null
+then
+ svnadmin create --fs-type fsfs "$svnrepo"
+else
+ svnadmin create "$svnrepo"
+fi
+
svnrepo="file://$svnrepo/test-git-svn"