Mercurial > hg > mercurial-source
changeset 34010: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 | b045344fe35e |
children | 35c233975b78 |
files | mercurial/changegroup.py mercurial/configitems.py |
diffstat | 2 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/changegroup.py +++ b/mercurial/changegroup.py @@ -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