Mercurial > public > mercurial-scm > hg-stable
diff mercurial/changegroup.py @ 33227:86c9aa1d598f
configitems: register the 'server.validate' config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:44:15 +0200 |
parents | 9f95f0bb343b |
children | 248d5890c80a |
line wrap: on
line diff
--- a/mercurial/changegroup.py Fri Jun 30 03:44:14 2017 +0200 +++ b/mercurial/changegroup.py Fri Jun 30 03:44:15 2017 +0200 @@ -309,7 +309,7 @@ self._unpackmanifests(repo, revmap, trp, prog, changesets) needfiles = {} - if repo.ui.configbool('server', 'validate', default=False): + if repo.ui.configbool('server', 'validate'): cl = repo.changelog ml = repo.manifestlog # validate incoming csets have their manifests