##// END OF EJS Templates
py3: stop normalizing .encode()/.decode() arguments to unicode...
py3: stop normalizing .encode()/.decode() arguments to unicode Now that we don't byte transform string literals, we no longer need this transform. While we're here, we also drop some superfluous u'' prefix in existing callers. Differential Revision: https://phab.mercurial-scm.org/D7011

File last commit:

r43353:7054fd37 default
r43361:127cc1f7 default
Show More
fix.hgrc
15 lines | 688 B | text/plain | TextLexer
Augie Fackler
contrib: add new examples area and start it out with a config for `hg fix`...
r43235 [fix]
clang-format:command = clang-format --style file -i
clang-format:pattern = (**.c or **.cc or **.h) and not "listfile:contrib/clang-format-ignorelist"
Augie Fackler
examples: add sample fix integration for `rustfmt`...
r43236
rustfmt:command = rustfmt {rootpath}
rustfmt:pattern = set:**.rs
Augie Fackler
examples: include a sample of how to use black with fix...
r43335
Augie Fackler
contrib: add a fork of black (as "grey") that includes my changes...
r43353 # We use black, but currently with
# https://github.com/psf/black/pull/826 applied. For now
# contrib/grey.py is our fork of black. You need to pip install
# git+https://github.com/python/black/@d9e71a75ccfefa3d9156a64c03313a0d4ad981e5
# to have the dependencies for grey.
#
# black:command = python3.7 contrib/grey.py --skip-string-normalization
Augie Fackler
examples: include a sample of how to use black with fix...
r43335 # black:pattern = set:**.py - hgext/fsmonitor/pywatchman/** - mercurial/thirdparty/** - "contrib/python-zstandard/**"