tests/test-check-format.t
author Martin von Zweigbergk <martinvonz@google.com>
Tue, 23 Mar 2021 22:48:27 -0700
changeset 46837 27ba8acd5684
parent 46774 decc3bd3f20d
child 46870 41d43d12c2c4
permissions -rw-r--r--
rebase: don't call rewriteutil.precheck() with to-be-skipped commits It's clearly incorrect to call `rewriteutil.precheck()` for commits that we're not about to rewrite. We haven't noticed yet because the function doesn't check for divergence, but I'm about to teach it to do that. Differential Revision: https://phab.mercurial-scm.org/D10259

#require black test-repo

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