This is an archive of the discontinued Mercurial Phabricator instance.

tracing: ignore any IOErrors when writing to pipe
ClosedPublic

Authored by durin42 on Sep 1 2018, 11:33 AM.

Details

Summary

When the pager forks off the main process, we can end up with the pipe
closed prematurely. Rather than break hg entirely when that happens
and tracing is active, just let lingering events disappear as needed.

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

durin42 created this revision.Sep 1 2018, 11:33 AM
This revision was automatically updated to reflect the committed changes.