Page MenuHomePhabricator

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

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

Details

Summary

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

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

martinvonz created this revision.Mon, Nov 16, 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.