New discovery code

Augie Fackler lists at
Wed May 4 07:52:11 CDT 2011

On Tue, May 3, 2011 at 10:29 PM, Matt Mackall <mpm at> wrote:
> Peter's new discovery code from the sprint is in the tree and I've got
> it running on and /repo.
> a) It's really much faster. I've got a test here of a kernel repo that's
> over 10k csets behind tip. Old discover takes at least a few dozen round
> trips and about a minute, new discovery takes 2 round trips and about a
> second.


> b) It's too aggressive for servers that support the known command but
> not long args. It defaults to 200 nodes per query, which works out to 8k
> bytes, way over the 1k URL limit. This is probably restricted to a
> narrow range of people running the post-1.8 default branch, but it bit
> me.

I feel like we should verify this - if it's really only post-1.8
default branch users, just mention it in release notes and move on?
Non-stable-branch users should be savvy enough to pay attention to
warnings like this IMO.

> --
> Mathematics is the supreme nostalgia of our time.
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at

More information about the Mercurial-devel mailing list