This is an archive of the discontinued Mercurial Phabricator instance.

hooks: add a `auto` value for `hooks.*run-with-plain`
ClosedPublic

Authored by marmoute on Feb 10 2021, 6:47 PM.

Details

Summary

That setting restore the behavior pre-5.6. The current HGPLAIN value is simply
passed to the hooks.

This allow user who needs it to fully mitigate the behavior change introduced
in Mercurial 5.7 by restoring the older behavior.

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.Feb 10 2021, 6:47 PM
baymax updated this revision to Diff 25544.Feb 10 2021, 8:11 PM

โœ… refresh by Heptapod after a successful CI run (๐Ÿ™ ๐Ÿ’š)

baymax updated this revision to Diff 25546.Feb 11 2021, 5:25 AM

โœ… refresh by Heptapod after a successful CI run (๐Ÿ™ ๐Ÿ’š)

durin42 accepted this revision.Feb 11 2021, 11:08 AM
durin42 added a subscriber: durin42.

I'm not happy about this footgun option, but see why we need it.

This revision is now accepted and ready to land.Feb 11 2021, 11:08 AM
This revision was automatically updated to reflect the committed changes.