Branching a whole Subversion repository

Jelmer Vernooij jelmer at samba.org
Wed May 12 08:14:05 BST 2010


Hi Russel,

On Wed, 2010-05-12 at 07:24 +0100, Russel Winder wrote:
> I have only ever tried branching a specific directory of a Subversio
> repository using Bazaar+bzr-svn, e.g.
> 
> 	bzr branch svn+http://scons.tigris.org/svn/scons/trunk SCons_Trunk
> 
> The problem at hand is that I want to create a Bazaar version of the
> whole repository as is what is done with Git or Mercurial.  Clearly
> there are conversion tools -- though I am not sure which is currently
> the best, adn I am not sure if they correctly construct a shared
> repository with all the branches and tags as correctly in place as it is
> possible to get.
> 
> Can bzr-svn do this sort of processing?  Basically is there a way of
> doing
> 
> 	bzr branch svn+http://scons.tigris.org/svn/scons SCons
> 
> and getting everything?
Yes, this is what "bzr svn-import" is for. Try:

bzr svn-import svn+http://scons.tigris.org/svn/scons SCons

Cheers,

Jelmer



More information about the bazaar mailing list