[PATCH 0 of 2] Progress: refactored

TK Soh teekaysoh at gmail.com
Sat Dec 13 20:23:52 CST 2008


On Sat, Dec 13, 2008 at 5:57 PM, Stefano Tortarolo
<stefano.tortarolo at gmail.com> wrote:
> 2008/12/13 Stefano Tortarolo <stefano.tortarolo at gmail.com>:
>> I've done some refactoring.
>> Now it's easier to use custom displayers, you just have to call ui.setprogressdisplayer with a suitable displayer.
>> A suitable displayer has to provide some methods:
>>        - isactive(): is allowed to show something (e.g., isatty())
>>        - setprogresshandler(progress), update(), finish() and interrupt(): I guess these are self-explanatory
>>
>
> I forgot to mention that you can tweak some aspects in .hgrc.
>
> e.g.,
> [progress]
> threshold = -1
> It will behave like a simple ui.status

Maybe I missed this in earlier threads, but can you describe how the
progress is display? BTW, I do like the way the progresses are
displayed as described in the work posted by TAH. Somehow his work
were discontinued. I am guessing it's due to lower priority.


More information about the Mercurial-devel mailing list