comparison mercurial/help/config.txt @ 31589:7e3b145f8247

status: support commands.status.relative config When the config is set to true, status output becomes relative to the working directory. This has bugged me since I started using hg and it turns it is sillily simple to support it (unless I missed something, of course). We could also add a --relative flag, but I would personally always want that on, and I haven't heard any use for having it sometimes on, so this patch only lets you enable it via config.
author Martin von Zweigbergk <martinvonz@google.com>
date Tue, 21 Mar 2017 17:50:44 -0700
parents 79d98e1b21a7
children 2c02bb7fd7fc
comparison
equal deleted inserted replaced
31588:37a0ad669051 31589:7e3b145f8247
414 a different color mode than the pager (activated via the "pager" 414 a different color mode than the pager (activated via the "pager"
415 extension). 415 extension).
416 416
417 ``commands`` 417 ``commands``
418 ---------- 418 ----------
419
420 ``status.relative``
421 Make paths in ``hg status`` output relative to the current directory.
422 (default: False)
419 423
420 ``update.requiredest`` 424 ``update.requiredest``
421 Require that the user pass a destination when running ``hg update``. 425 Require that the user pass a destination when running ``hg update``.
422 For example, ``hg update .::`` will be allowed, but a plain ``hg update`` 426 For example, ``hg update .::`` will be allowed, but a plain ``hg update``
423 will be disallowed. 427 will be disallowed.