Mercurial > hg
diff mercurial/dagutil.py @ 36637:e8c361316803
py3: silence the final IOError by closing stdout/err slightly early
Fixes the following test failure:
$ hg status >/dev/full
abort: No space left on device
Exception ignored in: <_io.TextIOWrapper name='<stdout>' mode='w' ...
OSError: [Errno 28] No space left on device
[120]
author | Yuya Nishihara <yuya@tcha.org> |
---|---|
date | Fri, 02 Mar 2018 22:35:20 -0500 |
parents | f77121b6bf1b |
children | 0e46b92b37b1 |