bzr-svn: Pushing existing BZR to new SVN repo.

Tom Widmer tom.widmer at gmail.com
Wed Aug 19 09:50:15 BST 2009


Eric Berry wrote:
> bzr import, sort of worked. I imported my local bzr branch into the 
> local bzr-svn branch.

That's not the kind of import being suggested - that just imports a 
tarball or folder (it's part of bzrtools). Rather something like:
bzr fast-export | bzr fast-import
See http://bazaar-vcs.org/BzrFastImport.

> Think this is about as good as it'll get?

You should be able to get the history across intact.

Tom

> On Tue, Aug 18, 2009 at 11:15 PM, Eric Berry <elberry at gmail.com 
> <mailto:elberry at gmail.com>> wrote:
> 
>     Thanks Russel. I'll add the list back, and see if I find out any
>     more info.
> 
>     Cheers, and thanks again!
>     Eric
> 
> 
>     On Tue, Aug 18, 2009 at 10:39 PM, Russel Winder
>     <russel.winder at concertant.com <mailto:russel.winder at concertant.com>>
>     wrote:
> 
>         Eric,
>          >
>          > Unfortunately not. This results in the previous error.
>          > bzr: ERROR: Branches have no common ancestor, and no merge base
>          > revision was specified.
> 
>         I think then that you may have to treat the original Bazaar
>         branch as a
>         source of a foreign import.  I don't have the correct idiom to
>         hand but
>         working by analogy with importing a Git or Mercurial repository,
>         there
>         must be a way of importing a Bazaar repository.  Doing something
>         with
>         fast-import should get all the content and history from the original
>         Bazaar branch into the current working branch that has been
>         created by
>         branching from the Subversion repository mirror, then you can do the
>         push you have wanted to do for so long.
> 
>         People on the list might have the necessary idiom.
>          >
>         --
>         Russel.
>         =============================================================================
>         Dr Russel Winder      Partner
>                                                    xmpp:
>         russel at russel.org.uk <mailto: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 <mailto:sip%3Arussel.winder at ekiga.net>
>         London SW11 1EN, UK   m: +44 7770 465 077   skype: russel_winder
> 
> 
> 
> 
>     -- 
>     Learn from the past. Live in the present. Plan for the future.
>     11101000
>     http://www.townsfolkdesigns.com/blogs/elberry
> 
> 
> 
> 
> -- 
> Learn from the past. Live in the present. Plan for the future.
> 11101000
> http://www.townsfolkdesigns.com/blogs/elberry




More information about the bazaar mailing list