compat: conditionally access config item
Version 4.2 and below do not have config items support. So the extensions helper
do not register anything.
--- a/hgext3rd/evolve/__init__.py Fri Oct 20 18:50:26 2017 +0200
+++ b/hgext3rd/evolve/__init__.py Fri Oct 20 18:56:15 2017 +0200
@@ -382,7 +382,8 @@
eh.configitem('experimental', 'prunestrip')
# hack around because we need an actual default there
-configtable['experimental']['evolution.allnewcommands'].default = None
+if configtable:
+ configtable['experimental']['evolution.allnewcommands'].default = None
# pre hg 4.0 compat