This is an archive of the discontinued Mercurial Phabricator instance.

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
Lint Skipped
Unit
Unit Tests Skipped