##// END OF EJS Templates
configitems: register the 'server.validate' config
marmoute -
r33224:86c9aa1d default
parent child Browse files
Show More
@@ -309,7 +309,7 b' class cg1unpacker(object):'
309 self._unpackmanifests(repo, revmap, trp, prog, changesets)
309 self._unpackmanifests(repo, revmap, trp, prog, changesets)
310
310
311 needfiles = {}
311 needfiles = {}
312 if repo.ui.configbool('server', 'validate', default=False):
312 if repo.ui.configbool('server', 'validate'):
313 cl = repo.changelog
313 cl = repo.changelog
314 ml = repo.manifestlog
314 ml = repo.manifestlog
315 # validate incoming csets have their manifests
315 # validate incoming csets have their manifests
@@ -137,6 +137,9 b" coreconfigitem('server', 'preferuncompre"
137 coreconfigitem('server', 'uncompressedallowsecret',
137 coreconfigitem('server', 'uncompressedallowsecret',
138 default=False,
138 default=False,
139 )
139 )
140 coreconfigitem('server', 'validate',
141 default=False,
142 )
140 coreconfigitem('ui', 'clonebundleprefers',
143 coreconfigitem('ui', 'clonebundleprefers',
141 default=list,
144 default=list,
142 )
145 )
General Comments 0
You need to be logged in to leave comments. Login now