--- a/mercurial/wireprotov2server.py Wed Oct 03 09:48:22 2018 -0700
+++ b/mercurial/wireprotov2server.py Wed Oct 03 10:04:04 2018 -0700
@@ -20,7 +20,6 @@
error,
narrowspec,
pycompat,
- streamclone,
util,
wireprotoframing,
wireprototypes,
@@ -522,9 +521,8 @@
'permissions': [entry.permission],
}
- if streamclone.allowservergeneration(repo):
- caps['rawrepoformats'] = sorted(repo.requirements &
- repo.supportedformats)
+ caps['rawrepoformats'] = sorted(repo.requirements &
+ repo.supportedformats)
targets = getadvertisedredirecttargets(repo, proto)
if targets: