hgext/largefiles/__init__.py
changeset 34755 66adbe3c1046
parent 33816 1775f93da25c
child 34756 3f3c6d12095d
--- 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):