i18n: the message should not contain '\r'
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Mon, 20 Apr 2009 12:25:45 +0200
changeset 8085 404a2c318e70
parent 8084 5b3fee9c1f4d
child 8086 89b6450148d0
i18n: the message should not contain '\r' reported by bardy <bardiku@gmail.com>
hgext/churn.py
--- a/hgext/churn.py	Sun Apr 19 07:55:53 2009 -0400
+++ b/hgext/churn.py	Mon Apr 20 12:25:45 2009 +0200
@@ -80,7 +80,7 @@
             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'):