A Scalable, User-Friendly Source Control System.
Go to file
Martin von Zweigbergk f553986d8e templater: add separate() template function
A pretty common pattern in templates is adding conditional separators
like so:

  {node}{if(bookmarks, " {bookmarks}")}{if(tags, " {tags}")}

With this patch, the above can be simplified to:

  {separate(" ", node, bookmarks, tags)}

The function is similar to the already existing join(), but with a few
differences:

 * separate() skips empty arguments

 * join() expects a single list argument, while separate() expects
   each item as a separate argument

 * separate() takes the separator first in order to allow a variable
   number of arguments after it
2016-05-03 09:49:54 -07:00
contrib debian: alphabetize build deps 2016-04-30 21:21:17 -07:00
doc py3: make hgmanpage use absolute_import 2016-04-17 00:23:05 +05:30
hgext destutil: add the ability to specify a search space for rebase destination 2016-04-30 18:41:08 +02:00
hgext3rd extensions: also search for extension in the 'hgext3rd' package 2016-03-11 10:30:08 +00:00
i18n i18n-pt_BR: synchronized with 2ae54831e766 2016-05-01 00:12:56 -03:00
mercurial templater: add separate() template function 2016-05-03 09:49:54 -07:00
tests templater: add separate() template function 2016-05-03 09:49:54 -07:00
.editorconfig mercurial: add editorconfig 2016-04-05 18:10:33 +01:00
.hgignore make: turn ubuntu docker into template 2016-04-26 23:33:17 -07:00
.hgsigs Added signature for changeset 38662341e581 2016-05-01 14:36:12 -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 hg: add support for HGUNICODEPEDANTRY environment variable 2014-06-23 09:33:07 -04:00
hgeditor spelling: trivial spell checking 2015-10-17 00:58:46 +02:00
hgweb.cgi urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
Makefile ubuntu-xenial-ppa: add makefile rule 2016-04-27 01:07:40 -07:00
README urls: bulk-change primary website URLs 2015-09-30 15:43:49 -05:00
setup.py setup: detect Python DLL filename from loaded DLL 2016-04-28 08:52:13 -07: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 https://mercurial-scm.org/ for detailed installation
instructions, platform-specific notes, and Mercurial user information.