mercurial/__init__.py
author Mads Kiilerich <mads@kiilerich.com>
Mon, 07 Nov 2011 03:14:53 +0100
changeset 15439 01611e7c36ff
parent 0 9117c6561b0b
child 27220 4374d819ccd5
permissions -rw-r--r--
dispatch: exit with 8-bit exit code The exit code returned from a program to the shell is unsigned 8-bit, but Mercurial would sometimes try to exit with negative numbers or None. sys.exit on Unix will convert that to 8-bit exit codes, but on Windows negative values showed up as 0. The exit code is now explicitly converted to unsigned 8-bit.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines: