Mercurial > python-hglib
view Makefile @ 189:8054e925d9c7
client: kill the server on unrecoverable communication errors (issue5516)
Once an unrecoverable communication error occurs between the client and server,
it's no longer safe to send further commands to the same server.
On Windows, attempting to do so is known to cause lockups and memory leaks.
Close the client and kill the server when an such an error occurs. This way,
any further commands will fail gracefully with ValueError until the client
is reopened.
author | Gábor Stefanik <gabor.stefanik@nng.com> |
---|---|
date | Mon, 21 Aug 2017 17:02:14 +0200 |
parents | 5484cfdc2d59 |
children | b8edcb693518 |
line wrap: on
line source
PYTHON=python help: @echo 'Commonly used make targets:' @echo ' tests - run all tests in the automatic test suite' all: help .PHONY: tests MANIFEST.in: hg manifest | sed -e 's/^/include /' > MANIFEST.in dist: MANIFEST.in TAR_OPTIONS="--owner=root --group=root --mode=u+w,go-w,a+rX-s" $(PYTHON) setup.py -q sdist tests: $(PYTHON) test.py --with-doctest