config: extract diff-related coreconfigitem()s to a helper method
ClosedPublic

Authored by spectral on Feb 4 2019, 3:38 PM.

Details

Summary

We already have 'annotate' and 'diff' that use the same set of options, and I
want to add more in a followup commit, so I'm attempting to reduce maintenance
burden and duplication by making it possible to register all of them at once.

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.