# HG changeset patch # User Pierre-Yves David # Date 1522433586 -7200 # Node ID 1ff7ff53d81f41bdc4a7b95e9f78ef9ad369093f # Parent 9ad461df4d4d1696fe15086f6afea9cebb24a617 compat: provide an explicit default value to the 'odiff' config There is a devel warning about this now. diff -r 9ad461df4d4d -r 1ff7ff53d81f hgext3rd/evolve/__init__.py --- a/hgext3rd/evolve/__init__.py Thu Mar 29 19:47:48 2018 +0200 +++ b/hgext3rd/evolve/__init__.py Fri Mar 30 20:13:06 2018 +0200 @@ -507,7 +507,7 @@ @eh.uisetup def _installalias(ui): - if ui.config('alias', 'odiff') is None: + if ui.config('alias', 'odiff', None) is None: ui.setconfig('alias', 'odiff', "diff --hidden --rev 'limit(precursors(.),1)' --rev .", 'evolve')