Show More
@@ -170,6 +170,10 b' class progbar(object):' | |||
|
170 | 170 | sharedprog = None |
|
171 | 171 | |
|
172 | 172 | def uisetup(ui): |
|
173 | # Apps that derive a class from ui.ui() can use | |
|
174 | # setconfig('progress', 'disable', 'True') to disable this extension | |
|
175 | if ui.configbool('progress', 'disable'): | |
|
176 | return | |
|
173 | 177 | if ui.interactive() and not ui.debugflag and not ui.quiet: |
|
174 | 178 | # we instantiate one globally shared progress bar to avoid |
|
175 | 179 | # competing progress bars when multiple UI objects get created |
General Comments 0
You need to be logged in to leave comments.
Login now