##// END OF EJS Templates
dispatch: ignore further SIGPIPE while handling KeyboardInterrupt...
dispatch: ignore further SIGPIPE while handling KeyboardInterrupt I got the following error by running "hg log" and quitting the pager immediately. Any output here may trigger another SIGPIPE, so only thing we can do is to swallow the exception and exit with an error status. Traceback (most recent call last): File "./hg", line 45, in <module> mercurial.dispatch.run() File "mercurial/dispatch.py", line 83, in run status = (dispatch(req) or 0) & 255 File "mercurial/dispatch.py", line 167, in dispatch req.ui.warn(_("interrupted!\n")) File "mercurial/ui.py", line 1224, in warn self.write_err(*msg, **opts) File "mercurial/ui.py", line 790, in write_err self._write_err(*msgs, **opts) File "mercurial/ui.py", line 798, in _write_err self.ferr.write(a) File "mercurial/ui.py", line 129, in _catchterm raise error.SignalInterrupt mercurial.error.SignalInterrupt Perhaps this wasn't visible before de5c9d0e02ea because the original stderr handle was restored very late.

File last commit:

r9419:3516a4e8 default
r32044:cde72a19 default
Show More
README
11 lines | 416 B | text/plain | TextLexer
Martin Geisler
doc: update README with links to Docutils
r9172 Mercurial's documentation is kept in reStructuredText format, which is
a simple plain text format that's easy to read and edit:
jake@edge2.net
adding doc directory and files
r177
Martin Geisler
doc: update README with links to Docutils
r9172 http://docutils.sourceforge.net/rst.html
jake@edge2.net
adding doc directory and files
r177
Martin Geisler
doc: update README with links to Docutils
r9172 It's also convertible to a variety of other formats including standard
Martin Geisler
doc/README: simplify instructions
r9419 UNIX man page format and HTML. You'll need to install Docutils:
jake@edge2.net
adding doc directory and files
r177
Martin Geisler
doc: update README with links to Docutils
r9172 http://docutils.sourceforge.net/
jake@edge2.net
adding doc directory and files
r177
Martin Geisler
doc: update README with links to Docutils
r9172 Use the Makefile in this directory to generate the man and HTML pages.