bzr svn-import with a deep branch layout

Jelmer Vernooij jelmer at samba.org
Wed Oct 28 17:57:41 GMT 2009


On Tue, 2009-10-27 at 10:28 -0500, Russ Brown wrote:
> On Tuesday 27 October 2009 10:05:21 am John Arbash Meinel wrote:
> > Russ Brown wrote:
> > > Are my suspicions correct, and if so is there any way to get svn-import
> > > to detect branches by noticing copies of trunk, rather than simply
> > > looking for subdirectories of branches?
> > >
> > > Thanks.
> > 
> > I'm pretty sure you can teach bzr-svn about custom branching schemes. I
> > don't remember all of the details, though.
> > 
> 
> That would probably help, though one complication is that to begin with we did 
> create branches directly beneath "branches" before switching to categories as 
> the number of branches we had somewhat exploded. I'm not sure how well it 
> would handle the overlap period.
> 
> I do however seem to remember Jelmer talking some time ago about the branch 
> layouts being phased out in favour of branch detection based on the copy 
> source, though I could be wrong.
> 
> Here we go: https://bugs.launchpad.net/bzr-svn/+bug/130372
> 
> Doesn't really explain what the new mechanism is though.
You can use "bzr svn-layout" to see what sort of repository layout
bzr-svn thinks it should use for a particular repository. 

See "bzr help svn-layout" for more information on manually setting the
repository layout that should be used. You can use wildcards. 

We can't just rely on considering everything that is derived from trunk
as a branch, as this assumes that there is a main branch - which is not
necessarily true. It would also require finding the ancestry of all
directories in the latest revision to see if they derive from trunk,
which would have performance consequences.

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer at samba.org> - http://samba.org/~jelmer/
Jabber: jelmer at jabber.fsfe.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20091028/27b455e7/attachment.pgp 


More information about the bazaar mailing list