[PATCH 3 of 5 V3] progress: empty the extension of any logic
Pierre-Yves David
pierre-yves.david at ens-lyon.org
Thu Jun 11 02:31:35 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 4401e4acc72379e47aced595797a1aa4db232ba8
# Parent c77874c1fb02168db13c06fa9bcd12eaa8828142
progress: empty the extension of any logic
The default value match the one enforce by the extension, we can remove that
logic.
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