[PATCH 15 of 21] churn: lowercase output

Martin Geisler mg at daimi.au.dk
Mon Jan 12 10:27:43 CST 2009


Martin Geisler <mg at daimi.au.dk> writes:

> # HG changeset patch
> # User Martin Geisler <mg at daimi.au.dk>
> # Date 1230999321 -3600
> # Node ID 2682959209b97ac52dd384f68ec1e560ade9df0a
> # Parent  d4e42e050c0cdf52d90abb821d1e235f39728306
> churn: lowercase output
>
> This changes the continuously updated progress bar -- not something a
> script would rely on.

I think we should put this in -- it changes "grep-unfriedly" output.

> diff --git a/hgext/churn.py b/hgext/churn.py
> --- a/hgext/churn.py
> +++ b/hgext/churn.py
> @@ -79,7 +79,7 @@
>              newpct = int(100.0 * count / max(len(repo), 1))
>              if pct < newpct:
>                  pct = newpct
> -                ui.write(_("\rGenerating stats: %d%%") % pct)
> +                ui.write(_("\rgenerating stats: %d%%") % pct)
>                  sys.stdout.flush()
>  
>      if opts.get('progress'):
> _______________________________________________
> Mercurial-devel mailing list
> Mercurial-devel at selenic.com
> http://selenic.com/mailman/listinfo/mercurial-devel

-- 
Martin Geisler

VIFF (Virtual Ideal Functionality Framework) brings easy and efficient
SMPC (Secure Multiparty Computation) to Python. See: http://viff.dk/.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090112/98ddee6a/attachment.pgp 


More information about the Mercurial-devel mailing list