view contrib/examples/fix.hgrc @ 44210:d0c3eead515a

copies: fix crash when copy source is not in graft base Differential Revision: https://phab.mercurial-scm.org/D8046
author Martin von Zweigbergk <martinvonz@google.com>
date Wed, 29 Jan 2020 23:14:31 -0800
parents 5e84a96d865b
children 426294d06ddc
line wrap: on
line source

[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