Mercurial's format source extension version 0.4.0Pierre-Yves David
Version 0.4.0 of the
formatsource extension for Mercurial just got pushed.
The extension deals with codebase formatting and smooths its consequences during
The release is available on pypi and upgrading is recommended.
Version 0.4.0 brings the following changes:
Formatting of the help text was improved
format-sourcecommand gained an
--extra-config-fileflag. Use it to record custom config files when running initial formatting.
It is now possible to track the tool version number when formatting files. The value will be put to use in later version of the extension to help to react to tool version changes. Tools coming with a default configuration will now track their version.
format-source.run-modeconfig option has been added. Set it to
yesto forcibly run formatters during any merge involving formatted files. Set it to
noto disable any formatting during merges.
format-sourcecommand gained a
--currentflag to run formatter on the working copy files. Each files get formatted according formatter defined in previous