view tests/test-check-format.t @ 43630:af9c73f26371

logcmdutil: let getlinerangerevs() return "revs" as a smartset This makes it consistent in "hg log" command where 'revs' can come from logcmdutil.getrevs() as a smartset or from getlinerangerevs(), previously as a list. This will help type hinting as noticed in https://phab.mercurial-scm.org/D7377.
author Denis Laxalde <denis.laxalde@logilab.fr>
date Thu, 14 Nov 2019 11:11:38 +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/**"'`