A Scalable, User-Friendly Source Control System.
Go to file
FUJIWARA Katsunori 7e4fbdb87b revset: make default kind of pattern for "contains()" rooted at cwd
Before this patch, default kind of pattern for revset predicate
"contains()" is treated as the exact file path rooted at the root of
the repository. This decreases usability, because:

  - all other predicates taking pattern argument (also "filelog()")
    treat such pattern as the path rooted at the current working
    directory

  - "contains()" doesn't describe this difference in its help

  - this difference may confuse users

    for example, this prevents revset aliases from sharing same
    argument between "contains()" and other predicates


This patch makes default kind of pattern for revset predicate
"contains()" be rooted at the current working directory.

This patch uses "pathutil.canonpath()" instead of creating "match"
object for efficiency.
2014-01-17 23:42:12 +09:00
contrib util: introduce util.debugstacktrace for showing a stack trace without crashing 2014-01-12 23:28:21 +01:00
doc doc: show details of command options in pages generated by docutils 2013-11-08 14:42:09 +09:00
hgext transplant: use "ui.extractchoices()" to show the list of available responses 2013-12-02 00:50:30 +09:00
i18n i18n-de: rename noun "entfernt" to "Gegenseite" 2014-01-08 12:25:00 -08:00
mercurial revset: make default kind of pattern for "contains()" rooted at cwd 2014-01-17 23:42:12 +09:00
tests revset: make default kind of pattern for "contains()" rooted at cwd 2014-01-17 23:42:12 +09:00
.hgignore Makefile: do update on a temporary copy of a po file 2013-11-05 09:43:36 +01:00
.hgsigs Added signature for changeset 6b943a1e0510 2014-01-01 21:46:45 -06: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 mq: add a warning about uncommitted changes for qfinish 2011-11-10 15:40:34 -06:00
Makefile Makefile: temporary copy of hg.pot is hg.pot.tmp instead of hg.pot~ 2013-11-17 12:18:26 +01:00
README readme: mention how to run in-place 2012-03-02 21:43:55 +02:00
setup.py setup: check if mercurial/util.h has been modified 2013-09-13 10:00:57 +08: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

Running without installing:

 $ make local      # build for inplace usage
 $ ./hg --version  # should show the latest version

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