equal
deleted
inserted
replaced
126 # be specifying the version(s) of Mercurial they are tested with, or |
126 # be specifying the version(s) of Mercurial they are tested with, or |
127 # leave the attribute unspecified. |
127 # leave the attribute unspecified. |
128 testedwith = 'ships-with-hg-core' |
128 testedwith = 'ships-with-hg-core' |
129 |
129 |
130 eh = exthelper.exthelper() |
130 eh = exthelper.exthelper() |
|
131 eh.merge(lfcommands.eh) |
|
132 eh.merge(overrides.eh) |
131 |
133 |
132 eh.configitem('largefiles', 'minsize', |
134 eh.configitem('largefiles', 'minsize', |
133 default=configitems.dynamicdefault, |
135 default=configitems.dynamicdefault, |
134 ) |
136 ) |
135 eh.configitem('largefiles', 'patterns', |
137 eh.configitem('largefiles', 'patterns', |
137 ) |
139 ) |
138 eh.configitem('largefiles', 'usercache', |
140 eh.configitem('largefiles', 'usercache', |
139 default=None, |
141 default=None, |
140 ) |
142 ) |
141 |
143 |
|
144 cmdtable = eh.cmdtable |
142 configtable = eh.configtable |
145 configtable = eh.configtable |
|
146 extsetup = eh.finalextsetup |
143 reposetup = reposetup.reposetup |
147 reposetup = reposetup.reposetup |
|
148 uisetup = eh.finaluisetup |
144 |
149 |
145 def featuresetup(ui, supported): |
150 def featuresetup(ui, supported): |
146 # don't die on seeing a repo with the largefiles requirement |
151 # don't die on seeing a repo with the largefiles requirement |
147 supported |= {'largefiles'} |
152 supported |= {'largefiles'} |
148 |
153 |
149 def uisetup(ui): |
154 @eh.uisetup |
|
155 def _uisetup(ui): |
150 localrepo.featuresetupfuncs.add(featuresetup) |
156 localrepo.featuresetupfuncs.add(featuresetup) |
151 hg.wirepeersetupfuncs.append(proto.wirereposetup) |
157 hg.wirepeersetupfuncs.append(proto.wirereposetup) |
152 uisetupmod.uisetup(ui) |
158 uisetupmod.uisetup(ui) |
153 |
159 |
154 cmdtable = lfcommands.cmdtable |
|
155 revsetpredicate = overrides.revsetpredicate |
160 revsetpredicate = overrides.revsetpredicate |