This is an archive of the discontinued Mercurial Phabricator instance.

remotefilelog: consolidate and rename bundle2 capability
ClosedPublic

Authored by durin42 on Oct 16 2018, 5:45 PM.

Details

Summary

Bonus: we catch a spot where the shallowrepo requirement was being
misused as the bundle2 capability.

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

durin42 created this revision.Oct 16 2018, 5:45 PM
indygreg accepted this revision.Oct 17 2018, 2:52 AM
indygreg added a subscriber: indygreg.

Nice catch on the overloaded capability name! Constants are better for expressing intent.

This revision is now accepted and ready to land.Oct 17 2018, 2:52 AM
This revision was automatically updated to reflect the committed changes.