--- a/mercurial/configitems.py Fri Jun 30 03:44:12 2017 +0200
+++ b/mercurial/configitems.py Fri Jun 30 03:44:14 2017 +0200
@@ -134,6 +134,9 @@
coreconfigitem('server', 'preferuncompressed',
default=False,
)
+coreconfigitem('server', 'uncompressedallowsecret',
+ default=False,
+)
coreconfigitem('ui', 'clonebundleprefers',
default=list,
)
--- 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