Created
January 11, 2016 19:21
-
-
Save harlowja/8bfe7e9a19214379684f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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