mercurial/__init__.py
author Pierre-Yves David <pierre-yves.david@fb.com>
Mon, 27 Oct 2014 17:52:33 +0100
branchstable
changeset 23084 3ef893520a85
parent 0 9117c6561b0b
child 27220 4374d819ccd5
permissions -rw-r--r--
setdiscovery: limit the size of the initial sample (issue4411) The set discovery start by sending a "known" command with all local heads. When the number of local heads is massive (eg: using hidden changesets) such request becomes too large. This lead to 414 error over http, aborting the whole process. We limit the size of the sample used by the first query to fix this. The test are impacted because they do test massive number of heads. But they do not test it over real world http setup.