diff --git a/contrib/examples/fix.hgrc b/contrib/examples/fix.hgrc --- a/contrib/examples/fix.hgrc +++ b/contrib/examples/fix.hgrc @@ -1,9 +1,9 @@ [fix] clang-format:command = clang-format --style file -clang-format:pattern = set:(**.c or **.cc or **.h) and not "include:contrib/clang-format-ignorelist" +clang-format:pattern = set:(rootglob:**.c or rootglob:**.cc or rootglob:**.h) and not "include:contrib/clang-format-ignorelist" rustfmt:command = rustfmt -rustfmt:pattern = set:**.rs +rustfmt:pattern = set:rootglob:**.rs black:command = black --config=black.toml - -black:pattern = set:**.py - mercurial/thirdparty/** - "contrib/python-zstandard/**" +black:pattern = set:rootglob:**.py - rootglob:mercurial/thirdparty/** - "rootglob:contrib/python-zstandard/**"