Mercurial > evolve
changeset 3072:ec97e7b11119
config: stop passing useless default value to config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Sat, 14 Oct 2017 19:08:22 +0200 |
parents | 472a67075756 |
children | 83627d3a7311 |
files | hgext3rd/evolve/__init__.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/hgext3rd/evolve/__init__.py Sat Oct 14 19:06:06 2017 +0200 +++ b/hgext3rd/evolve/__init__.py Sat Oct 14 19:08:22 2017 +0200 @@ -492,11 +492,11 @@ @eh.uisetup def _installalias(ui): - if ui.config('alias', 'odiff', None) is None: + if ui.config('alias', 'odiff') is None: ui.setconfig('alias', 'odiff', "diff --hidden --rev 'limit(precursors(.),1)' --rev .", 'evolve') - if ui.config('alias', 'grab', None) is None: + if ui.config('alias', 'grab') is None: if os.name == 'nt': hgexe = ('"%s"' % util.hgexecutable()) ui.setconfig('alias', 'grab', "! " + hgexe