A Scalable, User-Friendly Source Control System.
Go to file
FUJIWARA Katsunori f3e5f1e6c1 templater: apply "stringify()" on sub expression to get string correctly
Templating syntax allows nested expression to be specified as parts
below, but they are evaluated as a generator and don't work correctly.

  - 'sep' of 'join(list, sep)'
  - 'text' and 'chars' of 'strip(text, chars)'

In the former case, 'sep' returns expected string only for the first
separation, and empty one for the second or later, because the
generator has only one element.

In the latter case, templating is aborted by exception, because the
generator doesn't have 'strip()' method (as 'text') and can't be
passed as the argument to 'str.strip()' (as 'chars').

This patch applies "stringify()" on these sub expression to get string
correctly.
2014-03-10 01:01:43 +09:00
contrib wix: pull in new templates 2014-01-23 14:06:15 -06:00
doc doc: show details of command options in pages generated by docutils 2013-11-08 14:42:09 +09:00
hgext templater: avoid recursive evaluation of string literals completely 2014-03-10 01:01:42 +09:00
i18n i18n-ja: synchronized with ab338a276a26 2014-02-23 18:03:47 +09:00
mercurial templater: apply "stringify()" on sub expression to get string correctly 2014-03-10 01:01:43 +09:00
tests templater: apply "stringify()" on sub expression to get string correctly 2014-03-10 01:01:43 +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 c6d901b5cf89 2014-03-01 15:22:49 -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: add $ to environment variables in help message 2014-01-23 14:31:05 -06: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.