progress: clear progress before writing to stderr stable
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sat, 06 Mar 2010 13:32:14 +0100
branchstable
changeset 10594 08716b8ba9fb
parent 10593 cbea16fb46c3
child 10595 47f9868d8dcf
progress: clear progress before writing to stderr
hgext/progress.py
--- 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)