changeset 8085:404a2c318e70

i18n: the message should not contain '\r' reported by bardy <bardiku@gmail.com>
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Mon, 20 Apr 2009 12:25:45 +0200
parents 5b3fee9c1f4d
children 89b6450148d0
files hgext/churn.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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'):