This is an archive of the discontinued Mercurial Phabricator instance.

commandserver: handle IOError related to flushing of streams

Authored by pulkit on Dec 4 2020, 5:57 AM.



After dispatch, without chg we have handling of flushing of streams and
exception handling related to it. The exception handling part is important
because there can be exceptions when flushing fout or ferr.

One such case is in test-basic.t which was failing on python3+chg without this
patch as this handling was missing from chg.

Failure can be seen at

Honestly I am not sure which one of or the
change should go in.

Diff Detail

rHG Mercurial
Lint Skipped
Unit Tests Skipped

Event Timeline

pulkit created this revision.Dec 4 2020, 5:57 AM
pulkit planned changes to this revision.Dec 4 2020, 5:57 AM

Sent too soon.

pulkit updated this revision to Diff 24013.Dec 4 2020, 7:56 AM
mharbison72 accepted this revision.Dec 10 2020, 12:03 AM
This revision is now accepted and ready to land.Dec 10 2020, 12:03 AM