projects
/
invirt/scripts/git-migration.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c59f93a
)
Accept the path to the svn repository as an argument.
author
Anders Kaseorg
<andersk@mit.edu>
Fri, 26 Dec 2008 00:13:49 +0000
(19:13 -0500)
committer
Anders Kaseorg
<andersk@mit.edu>
Fri, 26 Dec 2008 00:13:49 +0000
(19:13 -0500)
svn path=/trunk/scripts/git-migration/; revision=1902
git-migrate-fast.sh
patch
|
blob
|
history
diff --git
a/git-migrate-fast.sh
b/git-migrate-fast.sh
index
8b70fa4
..
31c8b57
100755
(executable)
--- 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" ] || \