From: Daniel Barkalow Date: Thu, 12 May 2005 21:24:27 GMT Subject: Re: Mercurial 0.4e vs git network pull Message-ID: In-Reply-To: <20050512205735.GE5914@waste.org> On Thu, 12 May 2005, Matt Mackall wrote: > Does this need an HTTP request (and round trip) per object? It appears > to. That's 2200 requests/round trips for my 800 patch benchmark. It requires a request per object, but it should be possible (with somewhat more complicated code) to overlap them such that it doesn't require a serial round trip for each. Since the server is sending static files, the overhead for each should be minimal. > How does git find the outstanding changesets? In the present mainline, you first have to find the head commit you want. I have a patch which does this for you over the same connection. Starting from that point, it tracks reachability on the receiving end, and requests anything it doesn't have. For the case of having nothing to do, it should be a single one-line request/response for a static file (after which the local end determines that it has everything it needs without talking to the server). -Daniel *This .sig left intentionally blank*