( )⚙ D8924 requirements: introduce a set of working directory specific requirements

This is an archive of the discontinued Mercurial Phabricator instance.

requirements: introduce a set of working directory specific requirements
ClosedPublic

Authored by pulkit on Aug 10 2020, 11:24 AM.

Details

Summary

Some requirements like the SPARSE_REQUIREMENT is working directory specific and
cannot be shared. We add a set which will contain all these requirements.

This is not the best we can do, I think having a rich requirement class will be
much better but that will be out of scope for this series.

Diff Detail

Repository
rHG Mercurial
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

Event Timeline

pulkit created this revision.Aug 10 2020, 11:24 AM
indygreg accepted this revision.Aug 10 2020, 9:00 PM
indygreg added a subscriber: indygreg.
indygreg added inline comments.
mercurial/requirements.py
51

I'll change this to set literal syntax in flight.

This revision is now accepted and ready to land.Aug 10 2020, 9:00 PM