##// END OF EJS Templates
streaming: actually change default
Matt Mackall -
r10414:1a8df80d default
parent child Browse files
Show More
@@ -34,7 +34,7 b' class StreamException(Exception):'
34 34 # server writes out raw file data.
35 35
36 36 def allowed(ui):
37 return ui.configbool('server', 'uncompressed', untrusted=True)
37 return ui.configbool('server', 'uncompressed', True, untrusted=True)
38 38
39 39 def stream_out(repo):
40 40 '''stream out all metadata files in repository.
@@ -16,7 +16,7 b' hg tag 1.0'
16 16 echo another > foo
17 17 hg branch stable
18 18 hg ci -Ambranch
19 hg serve -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
19 hg serve --config server.uncompressed=False -n test -p $HGPORT -d --pid-file=hg.pid -E errors.log
20 20 cat hg.pid >> $DAEMON_PIDS
21 21
22 22 echo % Logs and changes
@@ -11,8 +11,8 b' echo bar>foo.d/bAr.hg.d/BaR'
11 11 echo bar>foo.d/baR.d.hg/bAR
12 12
13 13 hg commit -A -m 1
14 hg --config server.uncompressed=True serve -p $HGPORT -d --pid-file=../hg1.pid
15 hg serve -p $HGPORT1 -d --pid-file=../hg2.pid
14 hg serve -p $HGPORT -d --pid-file=../hg1.pid
15 hg --config server.uncompressed=False serve -p $HGPORT1 -d --pid-file=../hg2.pid
16 16 # Test server address cannot be reused
17 17 hg serve -p $HGPORT1 2>&1 | sed -e "s/abort: cannot start server at ':$HGPORT1':.*/abort: cannot start server at ':\$HGPORT1':/"
18 18 cd ..
General Comments 0
You need to be logged in to leave comments. Login now