diff hgext/progress.py @ 23083:ee45f5c2ffcc stable

setdiscovery: extract sample limitation in a `_limitsample` function We need to reuse this logic for the initial query. We extract it in a function to unsure sample limiting is applied consistently in all cases.
author Pierre-Yves David <pierre-yves.david@fb.com>
date Mon, 27 Oct 2014 17:40:32 +0100
parents f9c91c638378
children 8b5b963ba95a
line wrap: on
line diff