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