Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
#!/bin/bash
set -o xtrace
set -o pipefail
set -e
cd ~/
bzr branch lp:cloud-init
cd cloud-init/
git init
bzr fast-export --plain . | git fast-import
for t in `git tag | grep "^ubuntu"`; do
echo "Removing tag $t"
git tag -d $t
done
git tag -d "trunk-karmic-merge"
rm -rf .bzr/
echo "Rebasing the stackforge branch"
cd ~/
git clone https://github.com/stackforge/cloud-init.git cloud-init-new
cd cloud-init-new/
git checkout origin/0.7.x
git checkout 0.7.x
git remote add upstream ~/cloud-init
git fetch upstream
git rebase upstream/master
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment