D4863: wireprotov2: always advertise raw repo requirements
indygreg (Gregory Szorc)
phabricator at mercurial-scm.org
Thu Oct 4 14:21:30 EDT 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rHGed556a5201e5: wireprotov2: always advertise raw repo requirements (authored by indygreg, committed by ).
REPOSITORY
rHG Mercurial
CHANGES SINCE LAST UPDATE
https://phab.mercurial-scm.org/D4863?vs=11644&id=11682
REVISION DETAIL
https://phab.mercurial-scm.org/D4863
AFFECTED FILES
mercurial/wireprotov2server.py
CHANGE DETAILS
diff --git a/mercurial/wireprotov2server.py b/mercurial/wireprotov2server.py
--- a/mercurial/wireprotov2server.py
+++ b/mercurial/wireprotov2server.py
@@ -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:
To: indygreg, #hg-reviewers
Cc: martinvonz, mercurial-devel
More information about the Mercurial-devel
mailing list