This is an archive of the discontinued Mercurial Phabricator instance.

fix: determine fixer tool failure by exit code instead of stderr
ClosedPublic

Authored by hooper on Aug 8 2018, 4:09 PM.

Details

Summary

This seems like the more natural thing, and it probably should have been this
way to beign with. It is more flexible because it allows tools to emit
diagnostic information while also modifying a file. An example would be an
automatic code formatter that also prints any remaining lint issues.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

hooper created this revision.Aug 8 2018, 4:09 PM
This revision was automatically updated to reflect the committed changes.