mirror of
https://github.com/facebook/sapling.git
synced 2024-10-06 14:58:03 +03:00
1dcb7966fc
Summary: These are the tests that passed after adding "$ eagerepo". I attempted to turn on eagerepo for all tests that didn't contain "$ eagerepo" or "configure modern". Reviewed By: quark-zju Differential Revision: D44445379 fbshipit-source-id: b283be6d5249f74e11a3205622961e457587e93b
51 lines
1.8 KiB
Perl
51 lines
1.8 KiB
Perl
#chg-compatible
|
||
#debugruntest-compatible
|
||
|
||
$ eagerepo
|
||
$ setconfig ui.color=always color.mode=ansi
|
||
$ setconfig color.color.none=0
|
||
|
||
$ setconfig alias.testcolor="debugtemplate '{label(\"test.test\", \"output\n\")}'"
|
||
|
||
$ hg testcolor --config color.test.test=blue
|
||
\x1b[34moutput\x1b[39m (esc)
|
||
|
||
$ hg testcolor --config color.test.test="blue bold"
|
||
\x1b[0m\x1b[1m\x1b[34moutput\x1b[0m (esc)
|
||
|
||
$ hg testcolor --config color.test.test="brightblue"
|
||
\x1b[94moutput\x1b[39m (esc)
|
||
|
||
$ hg testcolor --config color.test.test="blue+bold"
|
||
\x1b[0m\x1b[1m\x1b[34moutput\x1b[0m (esc)
|
||
|
||
$ hg testcolor --config color.test.test="brightblue:blue+bold"
|
||
\x1b[94moutput\x1b[39m (esc)
|
||
|
||
$ HGCOLORS=8 hg testcolor --config color.test.test="brightblue:blue+bold"
|
||
\x1b[0m\x1b[1m\x1b[34moutput\x1b[0m (esc)
|
||
|
||
$ hg testcolor --config color.test.test="brightblue:blue+bold underline"
|
||
\x1b[0m\x1b[4m\x1b[94moutput\x1b[0m (esc)
|
||
|
||
$ HGCOLORS=8 hg testcolor --config color.test.test="brightblue:blue+bold underline"
|
||
\x1b[0m\x1b[1m\x1b[4m\x1b[34moutput\x1b[0m (esc)
|
||
|
||
$ HGCOLORS=16777216 hg testcolor --config color.test.test="#359:color68+italic:brightblue:blue+bold underline"
|
||
\x1b[0m\x1b[4m\x1b[38:2::51:85:153moutput\x1b[0m (esc)
|
||
|
||
$ HGCOLORS=256 hg testcolor --config color.test.test="#359:color68+italic:brightblue:blue+bold underline"
|
||
\x1b[0m\x1b[4m\x1b[3m\x1b[38:5:68moutput\x1b[0m (esc)
|
||
|
||
$ HGCOLORS=16 hg testcolor --config color.test.test="#359:color68+italic:brightblue:blue+bold underline"
|
||
\x1b[0m\x1b[4m\x1b[94moutput\x1b[0m (esc)
|
||
|
||
$ HGCOLORS=8 hg testcolor --config color.test.test="#359:color68+italic:brightblue:blue+bold underline"
|
||
\x1b[0m\x1b[1m\x1b[4m\x1b[34moutput\x1b[0m (esc)
|
||
|
||
|
||
Don't crash on invalid utf-8:
|
||
|
||
$ hg testcolor --config color.test.test=blue --config alias.testcolor="debugtemplate '{label(\"test.test\", \"\x96\x96\n\")}'"
|
||
[34m\udc96\udc96[39m
|