internationalized messages should not contain the `\r' escape sequence

Benoit Boissinot benoit.boissinot at ens-lyon.org
Mon Apr 20 05:31:00 CDT 2009


On Mon, Apr 20, 2009 at 02:45:55PM +0800, bardy wrote:
> internationalized messages should not contain the `\r' escape sequence
> 
> is this a big problem ?   ignore it ?

fix pushed to crew (8084:404a2c318e70),

thanks,

Benoit
> 
> ---------------------------
> churn.py:
> 
>         if opts.get('progress'):
>             count += 1
>             newpct = int(100.0 * count / max(len(repo), 1))
>             if pct < newpct:
>                 pct = newpct
>                 ui.write(_("\rgenerating stats: %d%%") % pct)
>                 sys.stdout.flush()

-- 
:wq


More information about the Mercurial mailing list