changeset 10594:08716b8ba9fb stable

progress: clear progress before writing to stderr
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 06 Mar 2010 13:32:14 +0100
parents cbea16fb46c3
children 47f9868d8dcf
files hgext/progress.py
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/hgext/progress.py	Fri Mar 05 18:26:13 2010 -0600
+++ b/hgext/progress.py	Sat Mar 06 13:32:14 2010 +0100
@@ -182,6 +182,7 @@
             sharedprog = progbar(ui)
         extensions.wrapfunction(ui, 'progress', sharedprog.progress)
         extensions.wrapfunction(ui, 'write', sharedprog.write)
+        extensions.wrapfunction(ui, 'write_err', sharedprog.write)
 
 def reposetup(ui, repo):
     uisetup(repo.ui)