( )⚙ D11222 fix: use obsolete.isenabled() to check for experimental.allowdivergence

This is an archive of the discontinued Mercurial Phabricator instance.

fix: use obsolete.isenabled() to check for experimental.allowdivergence
ClosedPublic

Authored by av6 on Jul 28 2021, 8:32 AM.

Details

Summary

Now that obsolete.isenabled() can also check if divergence is allowed, let's
use it for consistency. Other experimental.evolution options are already
checked via this function.

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.