Skip to content

Instantly share code, notes, and snippets.

@florentx
Created April 2, 2013 13:22
Show Gist options
  • Save florentx/5292155 to your computer and use it in GitHub Desktop.
Save florentx/5292155 to your computer and use it in GitHub Desktop.
Split a Bazaar repository (example of Pyflakes)
# * install latest Bazaar
# * install bzr-fastimport
# * `pip install fastimport`
bzr branch lp:divmod.org divmod.org
bzr fast-export --no-plain divmod.org divmod.fi.gz
bzr fast-import-filter -i Pyflakes/ divmod.fi.gz > pyflakes.fi
bzr init pyflakes-fi
cd pyflakes-fi
bzr fast-import ../pyflakes.fi
bzr push lp:~divmod-dev/pyflakes/trunk
# (or use plugin "bzr-git" to push to GitHub)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment