[RFC] Server-side branching

Robert Collins robertc at robertcollins.net
Tue Jun 5 05:46:36 BST 2007


On Tue, 2007-06-05 at 04:22 +1000, Andrew Bennetts wrote:
> This is very hackish (see the commit message in the bundle) at the moment, but
> I think this could be useful.  It makes the smart server and client handle
> the repository copying part of:
> 
>     bzr branch bzr+ssh://same-host/aaa bzr+ssh://same-host/bbb
> 
> entirely on the server, thus avoiding sending the whole branch over the network
> twice.
> 
> This is useful for situations where you don't have (or don't want) a shared
> repository on the remote side.  My motivation is for Launchpad's hosting
> service, which doesn't currently support shared repositories, so it would
> definitely be useful there.
> 
> Thoughts?

I haven't read the code yet, but this is tied into cbranch...

I think this is a good thing to allow offloading of.

Some things to be sure you've considered:
 - using http:// to same-host may not get the same smart server instance
in two different paths. Will that be handled 'correctly' (FSVO correct).
bzr:// and bzr+ssh:// don't suffer from that as long as the authority is
the same.
 - branch formatting and other possible differences that can occur.

Cheers,
Rob
-- 
GPG key available at: <http://www.robertcollins.net/keys.txt>.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20070605/3f4e67ae/attachment.pgp 


More information about the bazaar mailing list