Page MenuHomePhabricator

tests: show how `hg split` can put color codes in commit template

Authored by martinvonz on Nov 16 2020, 1:23 PM.



With D9255, I made it so hg split respects the
commmand-templates.oneline-summary config. I don't think I realized
that the output I modified was being put in a commit message
template. The result was that if you have coloring enabled, you get
colors in the commit template. This patch show that. The test is
unfortunately pretty verbose (like most other hg split tests) and
shows a bunch of irrelevant "color codes" (templater labels).

Diff Detail

rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

martinvonz created this revision.Nov 16 2020, 1:23 PM
This revision was not accepted when it landed; it landed in state Needs Review.
This revision was automatically updated to reflect the committed changes.