smart server push & new streams api
Robert Collins
robertc at robertcollins.net
Fri Apr 18 06:32:03 BST 2008
One of the things I realised today is that the new stream api I am
assembling is important for smart server push.
The current streams cannot trivially support pushing to a smart server
where the source repository is a plain repo, and the target is a
rich-root or subtree repository.
The problem is that the inventories in the stream cannot be
reconstructed as their basis texts are not available (the representation
is different).
To do smart push with current streams would require converting the
inventories before sending the stream; this is doable but at best will
be somewhat ugly.
The new streams api can trivially be told that the inventories need to
be constructable on the remote side, and will include enough basis data
to do so.
-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/20080418/8325e26f/attachment.pgp
More information about the bazaar
mailing list