Avoid repeating the logic of handling stdout write errors.
- Group Reviewers
- rHG10c36ead86f8: rhg: extract function handle_stdout_error
- rHG Mercurial
Automatic diff as part of commit; lint not applicable.
Automatic diff as part of commit; unit tests not applicable.