Show More
@@ -131,6 +131,9 b" coreconfigitem('server', 'disablefullbun" | |||
|
131 | 131 | coreconfigitem('server', 'maxhttpheaderlen', |
|
132 | 132 | default=1024, |
|
133 | 133 | ) |
|
134 | coreconfigitem('server', 'preferuncompressed', | |
|
135 | default=False, | |
|
136 | ) | |
|
134 | 137 | coreconfigitem('ui', 'clonebundleprefers', |
|
135 | 138 | default=list, |
|
136 | 139 | ) |
@@ -755,7 +755,7 b' def _capabilities(repo, proto):' | |||
|
755 | 755 | # copy to prevent modification of the global list |
|
756 | 756 | caps = list(wireprotocaps) |
|
757 | 757 | if streamclone.allowservergeneration(repo): |
|
758 |
if repo.ui.configbool('server', 'preferuncompressed' |
|
|
758 | if repo.ui.configbool('server', 'preferuncompressed'): | |
|
759 | 759 | caps.append('stream-preferred') |
|
760 | 760 | requiredformats = repo.requirements & repo.supportedformats |
|
761 | 761 | # if our local revlogs are just revlogv1, add 'stream' cap |
General Comments 0
You need to be logged in to leave comments.
Login now