[MERGE][#248153] Add autopack RPC
Robert Collins
robertc at robertcollins.net
Thu Oct 30 21:35:37 GMT 2008
On Thu, 2008-10-30 at 16:24 -0500, John Arbash Meinel wrote:
> True, but as long as it is just a "key, value" pair in the index, it
> seems to work just fine. Looking at Andrew's code he doesn't do any
> direct decoding of what is in the index, just packs it into a tuple and
> ships it to the other side.
>
> Another possibility would be to ship the bytes of 'pack-names' back
> directly, if you think it is an issue. It does seem like we are wasting
> a return value if we don't pass something back from the "autopack" RPC.
I think it makes too many assumptions about repository internals.
Assuming that there is a names file to pass back is just one such thing.
If we were using streaming fetch we wouldn't have this data; and we
shouldn't (except with lightweight checkouts) be querying the repository
after the autopack anyway.
-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/20081031/57bcdb43/attachment.pgp
More information about the bazaar
mailing list