##// END OF EJS Templates
configitems: register the 'largefiles.minsize' config
Boris Feld -
r34756:66adbe3c default
parent child Browse files
Show More
@@ -107,8 +107,10 b' command.'
107 from __future__ import absolute_import
107 from __future__ import absolute_import
108
108
109 from mercurial import (
109 from mercurial import (
110 configitems,
110 hg,
111 hg,
111 localrepo,
112 localrepo,
113 registrar,
112 )
114 )
113
115
114 from . import (
116 from . import (
@@ -125,6 +127,12 b' from . import ('
125 # leave the attribute unspecified.
127 # leave the attribute unspecified.
126 testedwith = 'ships-with-hg-core'
128 testedwith = 'ships-with-hg-core'
127
129
130 configtable = {}
131 configitem = registrar.configitem(configtable)
132
133 configitem('largefiles', 'minsize',
134 default=configitems.dynamicdefault,
135 )
128 reposetup = reposetup.reposetup
136 reposetup = reposetup.reposetup
129
137
130 def featuresetup(ui, supported):
138 def featuresetup(ui, supported):
General Comments 0
You need to be logged in to leave comments. Login now