##// END OF EJS Templates
dispatch: do not close stdout and stderr, just flush() instead...
dispatch: do not close stdout and stderr, just flush() instead Since 3a4c0905f357 "util: always force line buffered stdout when stdout is a tty", we have two file objects attached to the same STDOUT_FILENO. If one is closed, the underlying file descriptor is also closed, and writing to the other file object would crash the Python interpreter in a hard way, at least on Windows. So, it seems safer to not close the standard streams. This also matches the behavior of the default sys.stdout/stderr.close(), which never close the FILE* streams in C layer. https://hg.python.org/cpython/file/v2.7.13/Python/sysmodule.c#l1401

File last commit:

r29534:7794e13c default
r32687:12941a78 default
Show More
Welcome.html
20 lines | 794 B | text/html | HtmlLexer
Vadim Gelfer
make stuff for macos x binary package....
r1686 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
Augie Fackler
osx: correct comment about ordering of welcome page
r29534 <!-- This is the first screen displayed during the install. -->
Vadim Gelfer
make stuff for macos x binary package....
r1686 <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta http-equiv="Content-Style-Type" content="text/css">
<title></title>
<style type="text/css">
Lee Cantey
Update Windows and Mac installers to 0.9.1 release
r2681 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 14.0px Helvetica}
Vadim Gelfer
make stuff for macos x binary package....
r1686 p.p2 {margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica; min-height: 14.0px}
</style>
</head>
<body>
Matt Mackall
urls: bulk-change primary website URLs
r26421 <p class="p1">This is a prepackaged release of <a href="https://mercurial-scm.org/">Mercurial</a> for Mac OS X.</p>
Vadim Gelfer
make stuff for macos x binary package....
r1686 <p class="p2"><br></p>
Lee Cantey
Update Windows and Mac installers to 0.9.1 release
r2681 <br>
Matt Mackall
Remove hard-coded version numbers and release notes from packaging
r3863 <p>
Matt Mackall
urls: bulk-change primary website URLs
r26421 Please be sure to read the latest <a href="https://mercurial-scm.org/wiki/WhatsNew">release notes</a>.</p>
Vadim Gelfer
make stuff for macos x binary package....
r1686 </body>
</html>