Mercurial > hg
comparison tests/test-config.t @ 47415:b1b3127227be
config: add an experimental option to list all known config
That option is not ready for prime-time, hence the `exp-` prefix. However, this
is a good base to start going toward completion. This is also quite useful for
developer on its own for now.
Differential Revision: https://phab.mercurial-scm.org/D10356
author | Pierre-Yves David <pierre-yves.david@octobus.net> |
---|---|
date | Fri, 09 Apr 2021 17:04:39 +0200 |
parents | 40b51c28b242 |
children | a28a7dcb9158 |
comparison
equal
deleted
inserted
replaced
47414:5fbac82a8780 | 47415:b1b3127227be |
---|---|
406 > printf "[section]\nkey=$i" > configs/$i.rc | 406 > printf "[section]\nkey=$i" > configs/$i.rc |
407 > done | 407 > done |
408 $ HGRCPATH=configs hg config section.key | 408 $ HGRCPATH=configs hg config section.key |
409 99 | 409 99 |
410 | 410 |
411 Listing all config options | |
412 ========================== | |
413 | |
414 The feature is experimental and behavior may varies. This test exists to make sure the code is run. We grep it to avoid too much variability in its current experimental state. | |
415 | |
416 $ hg config --exp-all-known | grep commit | |
417 commands.commit.interactive.git=False | |
418 commands.commit.interactive.ignoreblanklines=False | |
419 commands.commit.interactive.ignorews=False | |
420 commands.commit.interactive.ignorewsamount=False | |
421 commands.commit.interactive.ignorewseol=False | |
422 commands.commit.interactive.nobinary=False | |
423 commands.commit.interactive.nodates=False | |
424 commands.commit.interactive.noprefix=False | |
425 commands.commit.interactive.showfunc=False | |
426 commands.commit.interactive.unified=None | |
427 commands.commit.interactive.word-diff=False | |
428 commands.commit.post-status=False | |
429 convert.git.committeractions=[*'messagedifferent'] (glob) | |
430 convert.svn.dangerous-set-commit-dates=False | |
431 experimental.copytrace.sourcecommitlimit=100 | |
432 phases.new-commit=draft | |
433 ui.allowemptycommit=False | |
434 ui.commitsubrepos=False | |
435 | |
436 | |
411 Configuration priority | 437 Configuration priority |
412 ====================== | 438 ====================== |
413 | 439 |
414 setup necessary file | 440 setup necessary file |
415 | 441 |