Show More
@@ -20,7 +20,6 from . import ( | |||||
20 | error, |
|
20 | error, | |
21 | narrowspec, |
|
21 | narrowspec, | |
22 | pycompat, |
|
22 | pycompat, | |
23 | streamclone, |
|
|||
24 | util, |
|
23 | util, | |
25 | wireprotoframing, |
|
24 | wireprotoframing, | |
26 | wireprototypes, |
|
25 | wireprototypes, | |
@@ -522,9 +521,8 def _capabilitiesv2(repo, proto): | |||||
522 | 'permissions': [entry.permission], |
|
521 | 'permissions': [entry.permission], | |
523 | } |
|
522 | } | |
524 |
|
523 | |||
525 | if streamclone.allowservergeneration(repo): |
|
524 | caps['rawrepoformats'] = sorted(repo.requirements & | |
526 | caps['rawrepoformats'] = sorted(repo.requirements & |
|
525 | repo.supportedformats) | |
527 | repo.supportedformats) |
|
|||
528 |
|
526 | |||
529 | targets = getadvertisedredirecttargets(repo, proto) |
|
527 | targets = getadvertisedredirecttargets(repo, proto) | |
530 | if targets: |
|
528 | if targets: |
General Comments 0
You need to be logged in to leave comments.
Login now