Mercurial > hg-stable
changeset 33249:391da1416038
configitems: register the 'progress.clear-complete' config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:44:02 +0200 |
parents | be00b61e4c4a |
children | bbc57a7e8823 |
files | mercurial/configitems.py mercurial/progress.py |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/configitems.py Fri Jun 30 03:44:01 2017 +0200 +++ b/mercurial/configitems.py Fri Jun 30 03:44:02 2017 +0200 @@ -149,6 +149,9 @@ coreconfigitem('progress', 'assume-tty', default=False, ) +coreconfigitem('progress', 'clear-complete', + default=True, +) coreconfigitem('server', 'bundle1', default=True, )
--- a/mercurial/progress.py Fri Jun 30 03:44:01 2017 +0200 +++ b/mercurial/progress.py Fri Jun 30 03:44:02 2017 +0200 @@ -191,7 +191,7 @@ def complete(self): if not shouldprint(self.ui): return - if self.ui.configbool('progress', 'clear-complete', default=True): + if self.ui.configbool('progress', 'clear-complete'): self.clear() else: self._writeerr('\n')