[PATCH 3 of 4 V2] progress: empty the extension of any logic

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Jun 10 14:02:44 CDT 2015

# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1433750447 25200
#      Mon Jun 08 01:00:47 2015 -0700
# Node ID ac32c2212c99b49eb99619cd642b9ba3365cee91
# Parent  00e625c98575d0e6c93b57faaf741093285fd4b5
progress: empty the extension of any logic

The default value match the one enforce by the extension, we can remove that

diff --git a/hgext/progress.py b/hgext/progress.py
--- a/hgext/progress.py
+++ b/hgext/progress.py
@@ -10,12 +10,5 @@
 This extension uses the progress information logged by hg commands
 to draw progress bars that are as informative as possible. Some progress
 bars only offer indeterminate information, while others have a definite
 end point.
-def uisetup(ui):
-    if ui.config('progress', 'disable', None) is None:
-        ui.setconfig('progress', 'disable', 'False', 'hgext-progress')
-def reposetup(ui, repo):
-    uisetup(repo.ui)

More information about the Mercurial-devel mailing list