[PATCH 0 of 2] Progress indicator and support for pull and update

TK Soh teekaysoh at gmail.com
Fri Dec 12 03:34:46 CST 2008


[copy mercurial dev list]

On Thu, Dec 11, 2008 at 10:25 PM, Stefano Tortarolo
<stefano.tortarolo at gmail.com> wrote:
> The first patch provides a progress indicator and the latter uses it for some operations (update and pull/clone).
> It's easy to get a feeling of how the indicator works just running mercurial/progress.py.
> A further step could be writing real tests.
>
> The behaviour is quite simple: it shows some progress indications only if allowed to do so (e.g., not quiet, activation threshold >= 0) and if at least _threshold_ seconds have elapsed since its creation.
> The default threshold is set to 5 seconds and it can be defined in .hgrc under [ui] (e.g., progressthreshold = 0, -1 disables it)

Do these patches provide a mean for external client to tap into the
progress display? I am speaking on behave of TortoiseHg.


More information about the Mercurial-devel mailing list