Show More
@@ -107,9 +107,10 b' command.' | |||
|
107 | 107 | from __future__ import absolute_import |
|
108 | 108 | |
|
109 | 109 | from mercurial import ( |
|
110 | configitems, | |
|
111 | exthelper, | |
|
110 | 112 | hg, |
|
111 | 113 | localrepo, |
|
112 | registrar, | |
|
113 | 114 | ) |
|
114 | 115 | |
|
115 | 116 | from . import ( |
@@ -126,19 +127,19 b' from . import (' | |||
|
126 | 127 | # leave the attribute unspecified. |
|
127 | 128 | testedwith = 'ships-with-hg-core' |
|
128 | 129 | |
|
129 | configtable = {} | |
|
130 | configitem = registrar.configitem(configtable) | |
|
130 | eh = exthelper.exthelper() | |
|
131 | 131 | |
|
132 | configitem('largefiles', 'minsize', | |
|
133 | default=configitem.dynamicdefault, | |
|
132 | eh.configitem('largefiles', 'minsize', | |
|
133 | default=configitems.dynamicdefault, | |
|
134 | 134 | ) |
|
135 | configitem('largefiles', 'patterns', | |
|
135 | eh.configitem('largefiles', 'patterns', | |
|
136 | 136 | default=list, |
|
137 | 137 | ) |
|
138 | configitem('largefiles', 'usercache', | |
|
138 | eh.configitem('largefiles', 'usercache', | |
|
139 | 139 | default=None, |
|
140 | 140 | ) |
|
141 | 141 | |
|
142 | configtable = eh.configtable | |
|
142 | 143 | reposetup = reposetup.reposetup |
|
143 | 144 | |
|
144 | 145 | def featuresetup(ui, supported): |
General Comments 0
You need to be logged in to leave comments.
Login now