A Scalable, User-Friendly Source Control System.
Go to file
Mads Kiilerich 9c69ab7b0b mq: fix corner cases for handling of patch 0 in qselect
Most of the code paths in mq would always pass patch specifications as a
string. Patches can be specified by their index, but one code path passed that
(through pop) to lookup as an integer - all other code paths used a string.

Unfortunately pop and lookup (like many other parts of mq) used the boolean
value of the patch specification to see if it was None, and they would thus
incorrectly handle patch 0 as None.

This patch makes the code comply with the actual internal duck typing of patch
specifications: patch indices must be encoded as strings. The (now) unused code
for partial and thus incorrect handling of indices as integers is removed.
2010-10-31 18:29:56 +01:00
contrib building: build inotify for sys.platform='linux*' 2011-09-20 15:21:27 +03:00
doc globally: use safehasattr(x, '__call__') instead of hasattr(x, '__call__') 2011-07-25 16:24:37 -05:00
hgext mq: fix corner cases for handling of patch 0 in qselect 2010-10-31 18:29:56 +01:00
i18n i18n-ja: synchronized with 11ed78aec2f7 2011-09-27 03:33:26 +09:00
mercurial httprepo: make __del__ more stable in error situations 2011-10-13 04:27:49 +02:00
tests mq: fix corner cases for handling of patch 0 in qselect 2010-10-31 18:29:56 +01:00
.hgignore hgignore: ignore MANIFEST.in (generated since 3f7ee5b12708) 2011-06-10 20:38:02 +02:00
.hgsigs Added signature for changeset 2904aff75b10 2011-10-01 15:49:29 -05:00
CONTRIBUTORS Add note to CONTRIBUTORS file 2007-11-07 21:10:30 -06:00
COPYING COPYING: refresh with current address from fsf.org 2011-06-02 11:17:02 -05:00
hg rename util.set_binary to setbinary 2011-05-06 15:25:35 +02:00
hgeditor Fixed a bashism with the use of $RANDOM in hgeditor. 2010-05-19 18:06:35 +02:00
hgweb.cgi *: add executable bit to a few files that were missing it. 2010-10-26 12:18:37 +02:00
Makefile i18n-ru: translated missing strings for commands, some typos corrected 2011-07-01 00:14:30 +04:00
README README: add small introduction 2010-10-27 12:05:37 +02:00
setup.py setup: add largefiles to list of packages 2011-10-10 17:33:17 +02:00

Mercurial
=========

Mercurial is a fast, easy to use, distributed revision control tool
for software developers.

Basic install:

 $ make            # see install targets
 $ make install    # do a system-wide install
 $ hg debuginstall # sanity-check setup
 $ hg              # see help

See http://mercurial.selenic.com/ for detailed installation
instructions, platform-specific notes, and Mercurial user information.