Bazaar, Launchpad and Mercurial

Jelmer Vernooij jelmer at samba.org
Wed Jun 13 22:09:06 UTC 2012


On Wed, Jun 13, 2012 at 07:34:53PM +0100, Russel Winder wrote:
> On Wed, 2012-06-13 at 09:43 -0700, Kristopher Ives wrote:
> > Probably not what you want, but you can convert the git repo to and
> > from bzr nicely. I only mention it because I have success converting
> > between them.

> Well it (more or less) works using hg-fast-export to create a Git
> repository and then branching this to create a Bazaar branch. So far so
> good. Of course if I try pushing this to the branch that is supposed to
> be a mirror of the BitBucket repository I (quite rightly) get:

> bzr: ERROR: Transport operation not possible: readonly transport 

> which means I cannot pre-condition the branch so as to get round the
> conversion problem the Launchpad mirroring system is seeing.  So, being
> blunt, the enterprise is b#######. :-((
Thats's indeed expected behaviour - this branch contains an import,
and is supposed to be updated only by the Launchpad import system so that
it contains the exact contents of the branch it mirrors.

Note that even if you were able to upload a manual import, you would
have to upload a bzr-hg import of the branch from Mercurial - going
via Git will result in an import with different contents (metadata,
etc).

Cheers,

Jelmer



More information about the bazaar mailing list