make the progress extension honor ui.quiet stable
authorRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>
Sun, 21 Feb 2010 15:26:55 +0100
branchstable
changeset 10523 4bab7c3db4e1
parent 10522 b07d487009b2
child 10524 3212afb33116
make the progress extension honor ui.quiet
hgext/progress.py
--- a/hgext/progress.py	Mon Feb 22 01:19:59 2010 +0100
+++ b/hgext/progress.py	Sun Feb 21 15:26:55 2010 +0100
@@ -170,7 +170,7 @@
 sharedprog = None
 
 def uisetup(ui):
-    if ui.interactive() and not ui.debugflag:
+    if ui.interactive() and not ui.debugflag and not ui.quiet:
         # we instantiate one globally shared progress bar to avoid
         # competing progress bars when multiple UI objects get created
         global sharedprog