Dealing with broken connections

Benoit Boissinot bboissin at gmail.com
Sat Mar 15 07:56:33 CDT 2008


On Sat, Mar 15, 2008 at 8:50 AM, Adrian Buehlmann <adrian at cadifra.com> wrote:
> On 14.03.2008 21:20, Matt Mackall wrote:
>  > On Fri, 2008-03-14 at 20:46 +0100, Guido Ostkamp wrote:
>
> >> Looking at generic large repositories like OpenSolaris I am the one who
>  >> does the cloning and I don't think I can get them to provide the stuff as
>  >> bundle.
>  >>
>  >> Would it for some technical reason be impossible to resume a cloning
>  >> process or is it just not yet implemented at the moment?
>  >
>  > Yes. The wire protocol streams changelog followed by manifest data
>  > followed by file data. This minimizes seeking and maximizes
>  > compression.
>
>  It might be interesting to not throw away the changelog (and maybe the
>  manifest data) in this case.
>

In theory it should be possible to extend the protocol to ask for data
on a per-revlog basis
(from the changelog, you can compute what is missing from the manifest
and from the manifest
what is missing from the filelogs)

regards,

Benoit


More information about the Mercurial mailing list