All it did was verify at construction time that Mercurial supports
TLS. instance() is what's used to construct peer instances. So
we can just inline this check into that function and do away with
the type variant.
Details
Details
- Reviewers
lothiraldan - Group Reviewers
hg-reviewers - Commits
- rHG874209855f5c: httppeer: remove httpspeer
rHGf6c7733655fc: httppeer: remove httpspeer
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
In theory, sure. But these classes are instantiated via httppeer.instance(). If anything, this change makes things friendlier for extensions because there is one less class to wrap and the remaining class doesn't inherit from a class that may be wrapped.