Mercurial > hg
view tests/test-check-format.t @ 43734:88a306478556 stable
singlehead: making config item a bool again
with the use of `configsuboptions`, the main config item has become
a string (unless it's just the default value).
This makes it in particular hard to override in a cascade of HGRC files,
as we do in Heptapod to re-allow multiple heads on specific repositories
while the default behaviour is to forbid them. The added test case reflects
that use-case
author | Georges Racinet <georges.racinet@octobus.net> |
---|---|
date | Wed, 20 Nov 2019 19:07:02 +0100 |
parents | 2247bf3cec76 |
children | 2d8d4e08c493 |
line wrap: on
line source
#require black $ cd $RUNTESTDIR/.. $ black --config=black.toml --check --diff `hg files 'set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**"'`