6 mako-render rules.mako > rules
12 sed -n 's/^create repository // p' ../rules | while read repo; do
13 mkdir -p "$repo" && GIT_DIR="$repo" git init --bare
16 svn-all-fast-export --identity-map ../authors ../rules "$SVN"
18 sed -n 's/^create repository // p' ../rules | while read repo; do
19 if [ -e "$repo/refs/heads/tags" ]; then
20 cp -a "$repo/refs/heads/tags/." "$repo/refs/tags"
21 rm -rf "$repo/refs/heads/tags"
25 pushd packages/invirt-dev.git
26 git tag sipb-xen-dev/13 sipb-xen-dev/14~2
29 pushd packages/invirt-remote.git
30 echo $(git rev-parse 0.2.0 invirt-remote-server invirt-remote-host) >> info/grafts
31 git filter-branch --tag-name-filter cat -- ^invirt-remote-server ^invirt-remote-host --all
32 rm -rf info/grafts refs/original refs/heads/invirt-remote-server refs/heads/invirt-remote-host
35 pushd packages/invirt-console.git
36 echo $(git rev-parse 0.2.0 0.2.0^ invirt-console-host) >> info/grafts
37 git filter-branch --tag-name-filter cat -- ^0.2.0^ ^invirt-console-host --all
38 rm -rf info/grafts refs/original refs/heads/invirt-console-host
41 pushd packages/invirt-dns.git
42 echo $(git rev-parse sipb-xen-dns/1~10 sipb-xen-dns/1~11 dns) >> info/grafts
43 git filter-branch --tag-name-filter cat -- ^sipb-xen-dns/1~11 ^dns --all
44 rm -rf info/grafts refs/original refs/heads/dns
47 pushd packages/invirt-database-server.git
48 git fetch ../invirt-database.git refs/tags/0.0.1:refs/heads/tmp
49 echo $(git rev-parse 0.0.1 refs/heads/tmp^) >> info/grafts
50 git filter-branch --tag-name-filter cat -- ^refs/heads/tmp --all
51 rm -rf info/grafts refs/original refs/heads/tmp
54 pushd packages/libyaml.git
55 git fetch git://andersk.mit.edu/libyaml.git refs/tags/upstream/0.1.1:refs/tags/upstream/0.1.1 refs/tags/debian/0.1.1-1:refs/tags/debian/0.1.1-1
56 git branch upstream upstream/0.1.1
57 echo $(git rev-parse 0.1.1-1_andersk1 debian/0.1.1-1^0) >> info/grafts
58 git filter-branch --tag-name-filter cat -- ^debian/0.1.1-1 --all
59 rm -rf info/grafts refs/original
62 pushd packages/python-routefs.git
63 git fetch -t git://github.com/ebroder/python-routefs.git
64 git branch -f upstream 1.0.1
65 git branch -f master 1.0.1-1
69 echo 'The Git migration was successful.'