view tests/test-check-format.t @ 49404:c6aac50038bb stable

debug-discovery: deal with case where common is empty This code was previously confused by case where: `heads_common == {nullid}`
author Pierre-Yves David <pierre-yves.david@octobus.net>
date Tue, 26 Jul 2022 10:48:06 +0200
parents 41d43d12c2c4
children ceaf92d6d380
line wrap: on
line source

#require black test-repo

Black needs the real USERPROFILE in order to run on Windows
#if msys
  $ USERPROFILE="$REALUSERPROFILE"
  $ export USERPROFILE
#endif

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