This is an archive of the discontinued Mercurial Phabricator instance.

narrow: move requirement constant to core
ClosedPublic

Authored by martinvonz on Feb 28 2018, 3:56 PM.

Details

Summary

My short-term goal is to move narrowrepo.narrowmatch() onto localrepo
and this is a necessary step for that.

I put the constant in changegroup.py, unlike REVLOGV2_REQUIREMENT,
which is in localrepo.py, since we'll need to access it from the
changegroup module eventually.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

martinvonz created this revision.Feb 28 2018, 3:56 PM
indygreg accepted this revision.Feb 28 2018, 9:02 PM
indygreg added a subscriber: indygreg.

I could bikeshed the location. But meh. Anywhere in core is better than nowhere in core.

(I would have suggested repository.py)

This revision is now accepted and ready to land.Feb 28 2018, 9:02 PM
This revision was automatically updated to reflect the committed changes.