windows: provide filename in IOError exceptions
This brings the Windows posixfile errors in line with the errors
on other platforms.
doc/Makefile: do not create files in case of errors
When stdout is redirected to the target file directly, the file is
created as an empty file even when an error occurs. Since the file is
there, 'make' wont try to re-create it in subsequent runs.
This fix is similar to the one in
a6747ba27d22, but it also takes care
of rst2html and gendoc.py.
zeroconf: fix hgweb published URLs (
issue1819)