Possibly Dumb Question about Switching a Bazaar Branch from Subversion to Git

Russel Winder russel.winder at concertant.com
Mon Mar 8 13:11:34 GMT 2010


Jelmer,

I have got myself in a bit of a tiz about my Gant branches, but it is
probably because I am missing something simple.

I have a shared repository containing all the maintenance branches of
Gant plus a trunk.  All of these used to be branches bound to a
Subversion repository.  The Subversion repository has now disappeared to
be replaced by a Git repository.  I unbound all the branches and would
now like to rebind to the Git repository.  Clearly for the moment I
cannot do anything about the maintenance branches, but I should be able
to do something about the master/trunk branch.

I naïvely tried:

	bzr merge --preview <URL>

but it says:

        bzr: ERROR: Branches have no common ancestor, and no merge base revision was specified. 

which is both true and false.  I know the actual content is identical
but the common ancestor of the Git repository and the Bazaar branch is
the Subversion repository -- the Git repository I am trying to bind to
is a mirror of a repository I created from the Subversion repository by
"git svn-clone --stdlayout . . . "

As a last resort I can just retire the Bazaar shared repository and
create things anew from the Git repository.  So there is no panic --
except that I will have to overwrite the public branches on Launchpad
which could be seen as impolite (!)  However I have this luxury only
because the branch/repository is small with only a few thousand
revisions.

Am I just missing something or is this a dark corner where there be
dragons?

Thanks.

-- 
Russel.
=============================================================================
Dr Russel Winder      Partner
                                            xmpp: russel at russel.org.uk
Concertant LLP        t: +44 20 7585 2200, +44 20 7193 9203
41 Buckmaster Road,   f: +44 8700 516 084   voip: sip:russel.winder at ekiga.net
London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20100308/3c9f86b5/attachment.pgp 


More information about the bazaar mailing list