[MERGE] Move dpush logic onto InterBranch

Jelmer Vernooij jelmer at samba.org
Sun May 10 03:04:11 BST 2009


This patch moves the logic from dpush to InterBranch.lossy_push().
This makes the names a little bit more sensible (Branch.lossy_push rather
than Branch.dpull). 

A followup to this patch should make it possible for foreign branch
implementations to override the rebasing process that happens during
dpush after the lossy push. This is useful for bzr-git which can be
optimised (the same pack that is generated and sent during the lossy push just
needs to be processed, no need to retrieve it again from the server).

Furthermore, this patch is required for things like dpushing from git
into subversion, setting the right magic bits for git-svn.

Cheers,

Jelmer
-------------- next part --------------
A non-text attachment was scrubbed...
Name: interbranch-dpull-4350.patch
Type: text/x-diff
Size: 15884 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090510/51c86257/attachment-0001.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 315 bytes
Desc: Digital signature
Url : https://lists.ubuntu.com/archives/bazaar/attachments/20090510/51c86257/attachment-0001.pgp 


More information about the bazaar mailing list