A Scalable, User-Friendly Source Control System.
Go to file
Durham Goode 156d6da226 template: add shortest(node) template function
Adds a '{shortest(node)}' template function that results in the shortest hex node
that uniquely identifies the changeset at that time. The minimum length can be
specified as an optional second argument and defaults to 4.

This is useful for producing prettier log output, like so:

@  durham  shortestnode
|  77cf    template: add pad function for padding output
|
o  durham
|  b183    template: add shortestnode keyword
|
o  pierre-yves @
|  6545    backout: add a message after backout that need manual commit
|
| o  durham   manifestcache
|/   93f0    manifest cache
|
| o  durham   catperf
| |  c765    cat: increase perf when catting single files
| |
| o  durham
|/   9c53    changectx: increase perf of walk function
|
2014-01-17 00:10:37 -08: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 record: use absolute path instead of os.chdir 2014-01-31 14:52:53 -08:00
i18n i18n-pt_BR: synchronized with 14badd276955 2014-01-31 15:25:31 -02:00
mercurial template: add shortest(node) template function 2014-01-17 00:10:37 -08:00
tests template: add shortest(node) template function 2014-01-17 00:10:37 -08: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 235171a1c71c 2014-02-01 15:20: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: hg.pot depends on the scripts generating it 2013-11-17 20:16:14 +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.