# HG changeset patch # User Pierre-Yves David # Date 1508000902 -7200 # Node ID ec97e7b111190062b5ae93e767ea14702319ff20 # Parent 472a67075756441379ded0c0046bb87bdb880bc6 config: stop passing useless default value to config diff -r 472a67075756 -r ec97e7b11119 hgext3rd/evolve/__init__.py --- 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