[GSoC] lightweight copies

Dirkjan Ochtman dirkjan at ochtman.nl
Fri Jul 10 15:56:02 CDT 2009

On Fri, Jul 10, 2009 at 13:36, Vsevolod
Solovyov<vsevolod.solovyov at gmail.com> wrote:
> In the current version, even if both server and client support
> lwcopies, they will transmit full weight chunks. So, we must have a
> way to say "we're support lwcopies, do not waste traffic". Also, it
> would be good to avoid unnecessary transformations between full-weight
> and lightweight chunks if both repositories are lightweight, wouldn't
> it?

The wire protocol supports something called capabilities. I think you
can just do this by adding a new lwcopy capability, just like the way
you added it to the requires file. I don't think that requires
changing the protocol as such, does it?



More information about the Mercurial-devel mailing list