From: Anders Kaseorg Date: Fri, 26 Dec 2008 00:13:49 +0000 (-0500) Subject: Accept the path to the svn repository as an argument. X-Git-Url: http://xvm.mit.edu/gitweb/invirt/scripts/git-migration.git/commitdiff_plain/33427e2048fd1425c5085482da197c9d85f9e58b Accept the path to the svn repository as an argument. svn path=/trunk/scripts/git-migration/; revision=1902 --- diff --git a/git-migrate-fast.sh b/git-migrate-fast.sh index 8b70fa4..31c8b57 100755 --- a/git-migrate-fast.sh +++ b/git-migrate-fast.sh @@ -1,6 +1,8 @@ #!/bin/bash set -e +SVN=${1:-/mit/xvm/svn} + mako-render rules.mako > rules rm git -rf @@ -12,7 +14,7 @@ sed -n 's/^create repository // p' ../rules | while read repo; do done echo run > ../run.gdb -gdb -batch -x ../run.gdb --args svn-all-fast-export ../rules /home/anders/xvm/svn +gdb -batch -x ../run.gdb --args svn-all-fast-export ../rules "$SVN" sed -n 's/^create repository // p' ../rules | while read repo; do ! [ -e "$repo/refs/heads/tags" ] || \