##// END OF EJS Templates
wireprotov2: always advertise raw repo requirements...
Gregory Szorc -
r40085:39074a35 default
parent child Browse files
Show More
@@ -20,7 +20,6 b' 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 b' 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