configitems: register the 'extdata.*.diffargs' config
authorBoris Feld <boris.feld@octobus.net>
Sat, 14 Oct 2017 00:34:46 +0200
changeset 34778 bf138446ac2f
parent 34777 bb2525871d95
child 34779 cfb054a7ecc4
configitems: register the 'extdata.*.diffargs' config
hgext/extdiff.py
--- a/hgext/extdiff.py	Sat Oct 14 00:33:57 2017 +0200
+++ b/hgext/extdiff.py	Sat Oct 14 00:34:46 2017 +0200
@@ -93,6 +93,11 @@
     generic=True,
 )
 
+configitem('diff-tools', r'.*\.diffargs$',
+    default=None,
+    generic=True,
+)
+
 # Note for extension authors: ONLY specify testedwith = 'ships-with-hg-core' for
 # extensions which SHIP WITH MERCURIAL. Non-mainline extensions should
 # be specifying the version(s) of Mercurial they are tested with, or