Mercurial > public > mercurial-scm > hg
comparison mercurial/streamclone.py @ 10414:1a8df80dfdde
streaming: actually change default
author | Matt Mackall <mpm@selenic.com> |
---|---|
date | Tue, 09 Feb 2010 14:12:34 -0600 |
parents | 04e1e6743809 |
children | 13a1b2fb7ef2 |
comparison
equal
deleted
inserted
replaced
10413:e433002acb05 | 10414:1a8df80dfdde |
---|---|
32 # file. separator is ascii nul, byte count is string. | 32 # file. separator is ascii nul, byte count is string. |
33 # | 33 # |
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. |
41 writes to file-like object, must support write() and optional flush().''' | 41 writes to file-like object, must support write() and optional flush().''' |
42 | 42 |