From 40cc7ea14095b3e1dbc64d75e04704c61c62595a Mon Sep 17 00:00:00 2001 From: "R. Steve McKown" Date: Wed, 3 Nov 2010 10:20:18 -0600 Subject: [PATCH] update-mirror doesn't created shared repositories Mirrors managed by update-mirror are read-only. --- update-mirror | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-mirror b/update-mirror index 477b32a..dfb9590 100755 --- a/update-mirror +++ b/update-mirror @@ -38,7 +38,7 @@ case "$url" in svnurl="${url#svn+}" if [ -f "$cfg_reporoot/$projdir/.new_clone" ]; then echo "[$proj] initial git-svn setup" - git --git-dir . --bare init --shared=true + git --git-dir . --bare init git --git-dir . svn init -s --prefix=svn-origin/ "$svnurl" # have git-svn store branches under svn-origin/heads/* not svn-origin/* # FIXME: may need to do similar when new branches are added -- 2.39.2