# HG changeset patch # User Benoit Boissinot # Date 2009-04-20 10:25:45 # Node ID 404a2c318e70ae4544a2114021889888dcef9f14 # Parent 5b3fee9c1f4dbe3fcdd86d45b314fe77e9e77c68 i18n: the message should not contain '\r' reported by bardy diff --git a/hgext/churn.py b/hgext/churn.py --- a/hgext/churn.py +++ b/hgext/churn.py @@ -80,7 +80,7 @@ def countrate(ui, repo, amap, *pats, **o newpct = int(100.0 * count / max(len(repo), 1)) if pct < newpct: pct = newpct - ui.write(_("\rgenerating stats: %d%%") % pct) + ui.write("\r" + _("generating stats: %d%%") % pct) sys.stdout.flush() if opts.get('progress'):