Mercurial > hg-stable
diff mercurial/streamclone.py @ 33226:b045344fe35e
configitems: register the 'server.uncompressedallowsecret' config
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 30 Jun 2017 03:44:14 +0200 |
parents | 33b7283a3828 |
children | 15e9cbe6ae49 |
line wrap: on
line diff
--- a/mercurial/streamclone.py Fri Jun 30 03:44:12 2017 +0200 +++ b/mercurial/streamclone.py Fri Jun 30 03:44:14 2017 +0200 @@ -172,7 +172,7 @@ # So don't allow this by default. secret = phases.hassecret(repo) if secret: - return repo.ui.configbool('server', 'uncompressedallowsecret', False) + return repo.ui.configbool('server', 'uncompressedallowsecret') return True