changeset 34778:bf138446ac2f

configitems: register the 'extdata.*.diffargs' config
author Boris Feld <boris.feld@octobus.net>
date Sat, 14 Oct 2017 00:34:46 +0200
parents bb2525871d95
children cfb054a7ecc4
files hgext/extdiff.py
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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