view tests/test-check-format.t @ 45542:33ded2d3f4fc

rhg: add a limited `rhg cat -r` subcommand It only supports revision specification (rev or full hash) and the list of files to cat. Differential Revision: https://phab.mercurial-scm.org/D9052
author Antoine Cezar <antoine.cezar@octobus.net>
date Tue, 15 Sep 2020 16:51:11 +0200
parents f62bb5d07848
children d4c8b4b90ecb
line wrap: on
line source

#require black test-repo

  $ cd $RUNTESTDIR/..
  $ black --config=black.toml --check --diff `hg files 'set:(**.py + grep("^#!.*python")) - mercurial/thirdparty/**'`