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

login
register
mail settings
Submitter Pierre-Yves David
Date June 11, 2015, 7:31 a.m.
Message ID <ce4b4a28464a4bd38ff3.1434007893@marginatus.alto.octopoid.net>
Download mbox | patch
Permalink /patch/9599/
State Accepted
Headers show

Comments

Pierre-Yves David - June 11, 2015, 7:31 a.m.
# HG changeset patch
# User Pierre-Yves David <pierre-yves.david@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.

Patch

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):