adding a progress bar to hg status
Augie Fackler
raf at durin42.com
Wed Jan 20 12:14:49 CST 2016
> On Jan 20, 2016, at 13:08, Rohit Watve <rwatve at fb.com> wrote:
>
> Hi Augie
>
> Output looks like
> scanning [ ] 0/2
> M bundle2.py
> scanning [===============================> ] 1/2
> M commands.py
> scanning [===============================================================>] 2/2
>
> This happens when using ui.progress() routine.
Can you send me a screenshot? What you've sent is puzzling. Even better would be output from running hg under script(1) so I could see the bytes that got written out.
>
> Thanks
> Rohit
>
> From: Augie Fackler <raf at durin42.com>
> Date: Tuesday, January 19, 2016 at 7:52 PM
> To: Rohit Watve <rwatve at fb.com>
> Cc: Mercurial-devel <mercurial-devel at selenic.com>
> Subject: Re: adding a progress bar to hg status
>
>
>> On Jan 19, 2016, at 12:59 PM, Rohit Watve <rwatve at fb.com> wrote:
>>
>> I was trying to add progress bar to 'hg status' command.
>> The progress bar output is getting interspersed with the status output.
>
> Sample?
>
>> Is there any neat way to either erase progress bar or buffer the status output, so that command output looks clean.
>
> In theory, the progress bar should be erasing itself when things are printed with a ui object. If that’s not happening, it *probably* means something funny is going on with your terminal emulator.
>
>>
>> Thanks
>> Rohit
>> _______________________________________________
>> Mercurial-devel mailing list
>> Mercurial-devel at selenic.com
>> https://selenic.com/mailman/listinfo/mercurial-devel
>
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> https://selenic.com/mailman/listinfo/mercurial-devel
More information about the Mercurial-devel
mailing list