From: Anders Kaseorg <andersk@mit.edu> Date: Mon, 29 Dec 2008 04:38:37 +0000 (-0500) Subject: Put the authors file in svn-all-fast-export format. X-Git-Url: http://xvm.mit.edu/gitweb/invirt/scripts/git-migration.git/commitdiff_plain/d1e5ae618a16a1c263f1eb87380810d9d25d92f7 Put the authors file in svn-all-fast-export format. svn path=/trunk/scripts/git-migration/; revision=1941 --- diff --git a/authors b/authors index 70f280e..7553e4a 100644 --- a/authors +++ b/authors @@ -1,13 +1,13 @@ -andersk = Anders Kaseorg <andersk@mit.edu> -broder = Evan Broder <broder@mit.edu> -ecprice = Eric Price <ecprice@mit.edu> -geofft = Geoffrey Thomas <geofft@mit.edu> -hartmans = Sam Hartman <hartmans@mit.edu> -mitchb = Mitchell Berger <mitchb@mit.edu> -neboat = Tao Ben Schardl <neboat@mit.edu> -nelhage = Nelson Elhage <nelhage@mit.edu> -price = Greg Price <price@mit.edu> -quentin = Quentin Smith <quentin@mit.edu> -tabbott = Tim Abbott <tabbott@mit.edu> -y_z = Yang Zhang <y_z@mit.edu> -zev = Zev Benjamin <zev@mit.edu> +andersk Anders Kaseorg <andersk@mit.edu> +broder Evan Broder <broder@mit.edu> +ecprice Eric Price <ecprice@mit.edu> +geofft Geoffrey Thomas <geofft@mit.edu> +hartmans Sam Hartman <hartmans@mit.edu> +mitchb Mitchell Berger <mitchb@mit.edu> +neboat Tao Ben Schardl <neboat@mit.edu> +nelhage Nelson Elhage <nelhage@mit.edu> +price Greg Price <price@mit.edu> +quentin Quentin Smith <quentin@mit.edu> +tabbott Tim Abbott <tabbott@mit.edu> +y_z Yang Zhang <y_z@mit.edu> +zev Zev Benjamin <zev@mit.edu> diff --git a/git-migrate-fast.sh b/git-migrate-fast.sh index a0b32c6..d63a20f 100755 --- a/git-migrate-fast.sh +++ b/git-migrate-fast.sh @@ -13,7 +13,7 @@ sed -n 's/^create repository // p' ../rules | while read repo; do mkdir -p "$repo" && GIT_DIR="$repo" git init --bare done -svn-all-fast-export --identity-map <(sed 's/= //' ../authors) ../rules "$SVN" +svn-all-fast-export --identity-map ../authors ../rules "$SVN" sed -n 's/^create repository // p' ../rules | while read repo; do ! [ -e "$repo/refs/heads/tags" ] || \