D6167: fix: allow fixer tools to return metadata in addition to the file content

martinvonz (Martin von Zweigbergk) phabricator at mercurial-scm.org
Tue Apr 23 17:11:58 EDT 2019

martinvonz added inline comments.


> fix.py:90-104
> +"postfixfile"
> +  Run once for each file in each revision where any fixer tools made changes to
> +  the file content. Provides "$HG_REV" and "$HG_PATH" to identify the file, and
> +  "$HG_METADATA" with a map of fixer names to metadata values from fixer tools
> +  that affected the file. Fixer tools that didn't affect the file have a value
> +  of None. Only fixer tools that executed are present in the metadata.
> +

`test-gendoc*.t` were not happy with this. I added two spaces to all these lines and reflowed them. Also updated the test accordingly.

  rHG Mercurial


To: hooper, #hg-reviewers, durin42, martinvonz
Cc: martinvonz, lothiraldan, durin42, indygreg, mercurial-devel

More information about the Mercurial-devel mailing list