progress: empty the extension of any logic
authorPierre-Yves David <pierre-yves.david@fb.com>
Mon, 08 Jun 2015 01:00:47 -0700
changeset 25521 f5c906878a47
parent 25520 c8fada8d9db9
child 25522 15c2c580b2a7
progress: empty the extension of any logic The default value match the one enforce by the extension, we can remove that logic.
hgext/progress.py
--- a/hgext/progress.py	Wed Jun 10 11:56:55 2015 -0700
+++ b/hgext/progress.py	Mon Jun 08 01:00:47 2015 -0700
@@ -12,10 +12,3 @@
 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)