[PATCH 1 of 4 V2] progress: display progress bars by default with core Mercurial

Pierre-Yves David pierre-yves.david at ens-lyon.org
Wed Jun 10 14:02:42 CDT 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 f81552058c8b90a5caca16aebe7fc2cb6de2d837
# Parent  e26c72a5a9aa4c13b0d57621dcce265f581abdcd
progress: display progress bars by default with core Mercurial

As discussed multiple time during sprint, we should activate proress by
default. Having progress bar sgnificantly improse 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