# HG changeset patch # User Matt Harbison # Date 1617642171 14400 # Node ID 3d32b97590476c2e7657b058788e61169a4059ca # Parent 4a6024b87dfcc1c325fcb068a7102ae3751832a2 contrib: restore the `hg fix` configuration in the examples After decc3bd3f20d, running `black` will DTRT, but running `hg fix` did nothing (unless the example config file was %included, in which case it truncated the file instead of formatting it). I'm not sure why that was happening, but let's not leave a code shredder laying around. Differential Revision: https://phab.mercurial-scm.org/D10311 diff -r 4a6024b87dfc -r 3d32b9759047 contrib/examples/fix.hgrc --- a/contrib/examples/fix.hgrc Wed Mar 31 17:54:02 2021 -0400 +++ b/contrib/examples/fix.hgrc Mon Apr 05 13:02:51 2021 -0400 @@ -5,7 +5,7 @@ rustfmt:command = rustfmt +nightly rustfmt:pattern = set:"**.rs" - "mercurial/thirdparty/**" -black:command = black +black:command = black --config=pyproject.toml - black:pattern = set:**.py - mercurial/thirdparty/** # Mercurial doesn't have any Go code, but if we did this is how we