contrib/examples/fix.hgrc
author Martin von Zweigbergk <martinvonz@google.com>
Wed, 15 Jan 2020 15:12:50 -0800
changeset 44246 faec51c76b7b
parent 44232 5e84a96d865b
child 45623 426294d06ddc
permissions -rw-r--r--
merge: avoid a negation in the definition of updatedirstate We only use `partial` in one place: the definition of `updatedirstate`. Let's simplify that a little. Differential Revision: https://phab.mercurial-scm.org/D7900

[fix]
clang-format:command = clang-format --style file
clang-format:pattern = set:(**.c or **.cc or **.h) and not "include:contrib/clang-format-ignorelist"

rustfmt:command = rustfmt +nightly
rustfmt:pattern = set:**.rs

black:command = black --config=black.toml -
black:pattern = set:**.py - mercurial/thirdparty/**

# Mercurial doesn't have any Go code, but if we did this is how we
# would configure `hg fix` for Go:
go:command = gofmt
go:pattern = set:**.go