##// END OF EJS Templates
statichttprepo: use new functions for requirements validation...
statichttprepo: use new functions for requirements validation The new code in localrepo for requirements gathering and validation is more robust than scmutil.readrequires(). Let's port statichttprepo to it. Since scmutil.readrequires() is no longer used, it has been removed. It is possible extensions were monkeypatching this to supplement the set of supported requirements. But the proper way to do that is to register a featuresetupfuncs. I'm comfortable forcing the API break because featuresetupfuncs is more robust and has been supported for a while. .. api:: ``scmutil.readrequires()`` has been removed. Use ``localrepo.featuresetupfuncs`` to register new repository requirements. Use ``localrepo.ensurerequirementsrecognized()`` to validate them. Differential Revision: https://phab.mercurial-scm.org/D4570
Gregory Szorc -
r39730:61929805 default
Show More
Name Size Modified Last Commit Author
/ mercurial / thirdparty / cbor / cbor2
__init__.py Loading ...
compat.py Loading ...
decoder.py Loading ...
encoder.py Loading ...
types.py Loading ...