Mercurial > hg
comparison mercurial/help/config.txt @ 31123:df0a0734304a
color: update main documentation
Now that the feature no longer lives in the extension, we document it in the
help of the core config. This include the new 'ui.color' option introduced in
the previous changesets.
As a result the color extensions can now be deprecated.
This is a documentation patch only; color is still disabled by default.
author | Pierre-Yves David <pierre-yves.david@ens-lyon.org> |
---|---|
date | Tue, 21 Feb 2017 20:04:55 +0100 |
parents | e7eca6e1372e |
children | 01a0ea04c372 |
comparison
equal
deleted
inserted
replaced
31122:53a60e95f154 | 31123:df0a0734304a |
---|---|
384 (default: https) | 384 (default: https) |
385 | 385 |
386 If no suitable authentication entry is found, the user is prompted | 386 If no suitable authentication entry is found, the user is prompted |
387 for credentials as usual if required by the remote. | 387 for credentials as usual if required by the remote. |
388 | 388 |
389 ``color`` | |
390 --------- | |
391 | |
392 Configure the Mercurial color mode. For details about how to define your custom | |
393 effect and style see :hg:`help color`. | |
394 | |
395 ``mode`` | |
396 String: control the method used to output color. One of ``auto``, ``ansi``, | |
397 ``win32``, ``terminfo`` or ``debug``. In auto mode the color extension will | |
398 use ANSI mode by default (or win32 mode on Windows) if it detects a | |
399 terminal. Any invalid value will disable color. | |
400 | |
401 ``pagermode`` | |
402 String: optinal override of ``color.mode`` used with pager (from the pager | |
403 extensions). | |
404 | |
405 On some systems, terminfo mode may cause problems when using | |
406 color with the pager extension and less -R. less with the -R option | |
407 will only display ECMA-48 color codes, and terminfo mode may sometimes | |
408 emit codes that less doesn't understand. You can work around this by | |
409 either using ansi mode (or auto mode), or by using less -r (which will | |
410 pass through all terminal control codes, not just color control | |
411 codes). | |
412 | |
413 On some systems (such as MSYS in Windows), the terminal may support | |
414 a different color mode than the pager (activated via the "pager" | |
415 extension). | |
389 | 416 |
390 ``committemplate`` | 417 ``committemplate`` |
391 ------------------ | 418 ------------------ |
392 | 419 |
393 ``changeset`` | 420 ``changeset`` |
1795 Example values: ``COMPRESSION=bzip2``, | 1822 Example values: ``COMPRESSION=bzip2``, |
1796 ``BUNDLESPEC=gzip-v2, COMPRESSION=gzip``. | 1823 ``BUNDLESPEC=gzip-v2, COMPRESSION=gzip``. |
1797 | 1824 |
1798 By default, the first bundle advertised by the server is used. | 1825 By default, the first bundle advertised by the server is used. |
1799 | 1826 |
1827 ``color`` | |
1828 String: when to use to colorize output. possible value are auto, always, | |
1829 never, or debug (default: never). 'auto' will use color whenever it seems | |
1830 possible. See :hg:`help color` for details. | |
1831 | |
1832 (in addition a boolean can be used in place always/never) | |
1833 | |
1800 ``commitsubrepos`` | 1834 ``commitsubrepos`` |
1801 Whether to commit modified subrepositories when committing the | 1835 Whether to commit modified subrepositories when committing the |
1802 parent repository. If False and one subrepository has uncommitted | 1836 parent repository. If False and one subrepository has uncommitted |
1803 changes, abort the commit. | 1837 changes, abort the commit. |
1804 (default: False) | 1838 (default: False) |