Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

A bidirectional Git - Bazaar gateway

branch: master

This branch is 0 commits ahead and 0 commits behind master

Merge pull request #3 from dajhorn/malformed-author

Fix "missing space before email" error.
latest commit f798106519
Conrad Parker authored February 08, 2012
Octocat-spinner-32 AUTHORS Update AUTHORS March 10, 2010
Octocat-spinner-32 README Merge remote branch 'JanX2/master' October 06, 2011
Octocat-spinner-32 TODO manpage generation is done by help2man now March 16, 2010
Octocat-spinner-32 git-bzr Fix "missing space before email" error. February 03, 2012
git-bzr: a bidirectional git - bazaar gateway

This script allows you to add bazaar repositories as git branches in your
git repository. After that, you can fetch the Bazaar repo, make some
changes, and push it back into Bazaar.


An example session goes like this:

  $ git init
  $ git-bzr add upstream ../bzr-branch
  $ git-bzr fetch upstream
  $ git checkout -b local_branch upstream
  $ Hack hack, merge merge....
  $ git-bzr push upstream

bzr URLs

Note that a bzr URL corresponds to a single bzr branch, and is represented in
git as a single branch in your repository.

The URL passed to "git-bzr add" can be any valid bzr URL, such as:

  * A local filesystem reference
        git-bzr add upstream ../bzr-branch
  * A remote bzr repository: 
        git-bzr add mega-nerd
  * A Launchpad URL:
	git-bzr add upstream lp:inkscape


You need a new Git (v 1.6.0 or higher).

Furthermore, you need the Bazaar fastimport plugin. It can be found at; to fetch it, run:

  $ bzr branch lp:bzr-fastimport

Finally, you need to install the git-bzr script somewhere.


The git-bzr script is licensed under the same license as Git.


The following are rewrites in Python and may offer better bzr integration:


Something went wrong with that request. Please try again.