Show More
@@ -18,6 +18,7 b' from . import (' | |||||
18 | error, |
|
18 | error, | |
19 | phases, |
|
19 | phases, | |
20 | pycompat, |
|
20 | pycompat, | |
|
21 | repository, | |||
21 | store, |
|
22 | store, | |
22 | util, |
|
23 | util, | |
23 | ) |
|
24 | ) | |
@@ -178,6 +179,9 b' def maybeperformlegacystreamclone(pullop' | |||||
178 |
|
179 | |||
179 | def allowservergeneration(repo): |
|
180 | def allowservergeneration(repo): | |
180 | """Whether streaming clones are allowed from the server.""" |
|
181 | """Whether streaming clones are allowed from the server.""" | |
|
182 | if repository.REPO_FEATURE_STREAM_CLONE not in repo.features: | |||
|
183 | return False | |||
|
184 | ||||
181 | if not repo.ui.configbool('server', 'uncompressed', untrusted=True): |
|
185 | if not repo.ui.configbool('server', 'uncompressed', untrusted=True): | |
182 | return False |
|
186 | return False | |
183 |
|
187 |
General Comments 0
You need to be logged in to leave comments.
Login now