Don't create repositories for libyaml or pyyaml.
[invirt/scripts/git-migration.git] / git-migrate-fast.sh
index d4a8cdd..a15e01b 100755 (executable)
@@ -16,11 +16,16 @@ done
 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" ] || \
-       cp -a "$repo/refs/heads/tags/." "$repo/refs/tags" && \
-       rm -rf "$repo/refs/heads/tags"
+    if [ -e "$repo/refs/heads/tags" ]; then
+        cp -a "$repo/refs/heads/tags/." "$repo/refs/tags"
+        rm -rf "$repo/refs/heads/tags"
+    fi
 done
 
+pushd packages/invirt-dev.git
+git tag sipb-xen-dev/13 sipb-xen-dev/14~2
+popd
+
 pushd packages/invirt-remote.git
 echo $(git rev-parse 0.2.0 invirt-remote-server invirt-remote-host) >> info/grafts
 git filter-branch --tag-name-filter cat -- ^invirt-remote-server ^invirt-remote-host --all
@@ -46,14 +51,6 @@ git filter-branch --tag-name-filter cat -- ^refs/heads/tmp --all
 rm -rf info/grafts refs/original refs/heads/tmp
 popd
 
-pushd packages/libyaml.git
-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
-git branch upstream upstream/0.1.1
-echo $(git rev-parse 0.1.1-1_andersk1 debian/0.1.1-1^0) >> info/grafts
-git filter-branch --tag-name-filter cat -- ^debian/0.1.1-1 --all
-rm -rf info/grafts refs/original
-popd
-
 pushd packages/python-routefs.git
 git fetch -t git://github.com/ebroder/python-routefs.git
 git branch -f upstream 1.0.1