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

TK Soh teekaysoh at gmail.com
Sat Dec 13 04:20:01 CST 2008


On Fri, Dec 12, 2008 at 5:38 PM, Stefano Tortarolo
<stefano.tortarolo at gmail.com> wrote:
> 2008/12/12 TK Soh <teekaysoh at gmail.com>:
>> [copy mercurial dev list]
>> Do these patches provide a mean for external client to tap into the
>> progress display? I am speaking on behave of TortoiseHg.
>>
>
> I tried to decouple the "status management" from the display logic.
> Basically there's a factory method that "assembles" a progress handler
> and a given displayer, but the current solution can be easily
> modified.
> Honestly I haven't a clue of how TortoiseHg interacts with mercurial,
> let me know if you need something special (different from what I'm
> doing now) and I'll see what can be done.

I haven't looked into your code to know how it really works, but the
progress handling code should provide some kind of 'hook' mechanism
for application like TortoiseHg to redirect/intercept the progress
info, so they may be displayed in way that suits the application.
TortoiseHg connects to Mercurial internal via it's 'API'.


More information about the Mercurial-devel mailing list