This is an archive of the discontinued Mercurial Phabricator instance.

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

Authored by martinvonz on Nov 16 2020, 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
Branch
default
Lint
No Linters Available
Unit
No Unit Test Coverage

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.