This is an archive of the discontinued Mercurial Phabricator instance.

fix: make Fixer initialization more explicit for clarity
ClosedPublic

Authored by martinvonz on Oct 14 2019, 2:39 AM.

Details

Summary

I found it quite confusing that Fixer accessed fields that seemed like
they didn't exist.

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

martinvonz created this revision.Oct 14 2019, 2:39 AM
pulkit accepted this revision.Oct 14 2019, 12:43 PM
This revision is now accepted and ready to land.Oct 14 2019, 12:43 PM

Hm, IIUC this was edited in flight, not sure why.

Hm, IIUC this was edited in flight, not sure why.

I noticed that test-check-format.t was failing last night so I fixed it up in flight. It wanted to put the procutil import on one line.