changeset 10414:1a8df80dfdde

streaming: actually change default
author Matt Mackall <mpm@selenic.com>
date Tue, 09 Feb 2010 14:12:34 -0600
parents e433002acb05
children 677f15da38c1
files mercurial/streamclone.py tests/test-hgweb-commands tests/test-http
diffstat 3 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/streamclone.py	Tue Feb 09 14:12:22 2010 -0600
+++ b/mercurial/streamclone.py	Tue Feb 09 14:12:34 2010 -0600
@@ -34,7 +34,7 @@
 #   server writes out raw file data.
 
 def allowed(ui):
-    return ui.configbool('server', 'uncompressed', untrusted=True)
+    return ui.configbool('server', 'uncompressed', True, untrusted=True)
 
 def stream_out(repo):
     '''stream out all metadata files in repository.
--- a/tests/test-hgweb-commands	Tue Feb 09 14:12:22 2010 -0600
+++ b/tests/test-hgweb-commands	Tue Feb 09 14:12:34 2010 -0600
@@ -16,7 +16,7 @@
 echo another > foo
 hg branch stable
 hg ci -Ambranch
-hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
+hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
 cat hg.pid >> $DAEMON_PIDS
 
 echo % Logs and changes
--- a/tests/test-http	Tue Feb 09 14:12:22 2010 -0600
+++ b/tests/test-http	Tue Feb 09 14:12:34 2010 -0600
@@ -11,8 +11,8 @@
 echo bar>foo.d/baR.d.hg/bAR
 
 hg commit -A -m 1
-hg --config server.uncompressed=True serve -p $HGPORT -d --pid-file=../hg1.pid
-hg serve -p $HGPORT1 -d --pid-file=../hg2.pid
+hg serve -p $HGPORT -d --pid-file=../hg1.pid
+hg --config server.uncompressed=False serve -p $HGPORT1 -d --pid-file=../hg2.pid
 # Test server address cannot be reused
 hg serve -p $HGPORT1 2>&1 | sed -e "s/abort: cannot start server at ':$HGPORT1':.*/abort: cannot start server at ':\$HGPORT1':/"
 cd ..