--- a/hgext/largefiles/__init__.py Fri Oct 13 21:50:43 2017 +0200
+++ b/hgext/largefiles/__init__.py Fri Oct 13 22:26:03 2017 +0200
@@ -107,8 +107,10 @@
from __future__ import absolute_import
from mercurial import (
+ configitems,
hg,
localrepo,
+ registrar,
)
from . import (
@@ -125,6 +127,12 @@
# leave the attribute unspecified.
testedwith = 'ships-with-hg-core'
+configtable = {}
+configitem = registrar.configitem(configtable)
+
+configitem('largefiles', 'minsize',
+ default=configitems.dynamicdefault,
+)
reposetup = reposetup.reposetup
def featuresetup(ui, supported):