[PATCH 15 of 21] churn: lowercase output

Martin Geisler mg at daimi.au.dk
Sat Jan 3 10:40:13 CST 2009


# 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.

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'):


More information about the Mercurial-devel mailing list