[PATCH 1 of 5 V3] progress: display progress bars by default with core Mercurial

Pierre-Yves David pierre-yves.david at ens-lyon.org
Thu Jun 11 07:31:33 UTC 2015


# HG changeset patch
# User Pierre-Yves David <pierre-yves.david at fb.com>
# Date 1433724687 25200
#      Sun Jun 07 17:51:27 2015 -0700
# Node ID ce4b4a28464a4bd38ff360c88d44d720f79ebfe5
# Parent  19717d3c8f941fdd92725ef1723f39edd981e543
progress: display progress bars by default with core Mercurial

As discussed multiple time during sprint, we should activate progress by
default. Having progress bar significantly improve the user experience.

diff --git a/mercurial/ui.py b/mercurial/ui.py
--- a/mercurial/ui.py
+++ b/mercurial/ui.py
@@ -890,11 +890,11 @@ class ui(object):
 
     @util.propertycache
     def _progbar(self):
         """setup the progbar singleton to the ui object"""
         if (self.quiet or self.debugflag
-                or self.configbool('progress', 'disable', True)
+                or self.configbool('progress', 'disable', False)
                 or not progress.shouldprint(self)):
             return None
         return getprogbar(self)
 
     def _progclear(self):


More information about the Mercurial-devel mailing list