HomePhabricator

hook: ignore EPIPE when flushing stdout/stderr

Authored by mplamann.

Description

hook: ignore EPIPE when flushing stdout/stderr

This fixes the bug described in the parent commit.
test-transaction-rollback-on-sigpipe.t is updated to show the new
behavior.

Differential Revision: https://phab.mercurial-scm.org/D9152