Page MenuHomePhabricator

revlog-compression: fix computation of engine availability
ClosedPublic

Authored by marmoute on Wed, Apr 7, 7:54 AM.

Details

Summary

We don't just need the engine to be define, we need it to be available and able
to do be used for revlog compression. Without this change, zstd could be
selected as a viable option for repository creation on platform where it is not
available.

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

marmoute created this revision.Wed, Apr 7, 7:54 AM
baymax updated this revision to Diff 26677.Wed, Apr 7, 12:00 PM

✅ refresh by Heptapod after a successful CI run (🐙 💚)

pulkit accepted this revision.Thu, Apr 8, 2:57 AM
This revision is now accepted and ready to land.Thu, Apr 8, 2:57 AM
baymax updated this revision to Diff 26681.Thu, Apr 8, 6:33 AM

✅ refresh by Heptapod after a successful CI run (🐙 💚)