Mercurial > hg
comparison mercurial/setdiscovery.py @ 31959:b445a3f00528
stdio: add machinery to identify failed stdout/stderr writes
Mercurial currently fails to notice failures to write to stdout or
stderr. A correctly functioning command line tool should detect
this and exit with an error code.
To achieve this, we need a little extra plumbing, which we start
adding here.
author | Bryan O'Sullivan <bryano@fb.com> |
---|---|
date | Tue, 11 Apr 2017 14:54:12 -0700 |
parents | c3eacee01c7e |
children | bd872f64a8ba |
comparison
equal
deleted
inserted
replaced
31958:de5c9d0e02ea | 31959:b445a3f00528 |
---|