3 # uses svn2git ruby script
5 # sudo gem install svn2git --source http://gemcutter.org
7 #http provides really crappy performance....
8 #SVNROOT="http://svn.planet-lab.org/svn"
9 # so run locally at princeton
14 SVN_MODULE=$(basename $arg)
15 echo "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx converting module $SVN_MODULE in $(pwd)"
16 SVN_PATH=${SVNROOT}/${SVN_MODULE}
17 GIT_WORKDIR=$(echo $SVN_MODULE | sed 's/.*/\L&/')
18 GIT_REPO=${GIT_WORKDIR}.git
28 mv ${GIT_WORKDIR}/.git ${GIT_REPO}
32 # enable clone with git:// protocol
33 # git-config daemon.uploadpack true
35 # enable archive with git:// procotol
36 git-config daemon.uploadarchive true
43 [[ -z "$args" ]] && args=$(ls /svn)