equal
deleted
inserted
replaced
14 branchmap, |
14 branchmap, |
15 error, |
15 error, |
16 store, |
16 store, |
17 util, |
17 util, |
18 ) |
18 ) |
|
19 |
|
20 def allowservergeneration(ui): |
|
21 """Whether streaming clones are allowed from the server.""" |
|
22 return ui.configbool('server', 'uncompressed', True, untrusted=True) |
19 |
23 |
20 # This is it's own function so extensions can override it. |
24 # This is it's own function so extensions can override it. |
21 def _walkstreamfiles(repo): |
25 def _walkstreamfiles(repo): |
22 return repo.store.walk() |
26 return repo.store.walk() |
23 |
27 |