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