A Scalable, User-Friendly Source Control System.
Go to file
Pierre-Yves David 7fb7b9e016 clfilter: introduce filteredrevs attribute on changelog
This changeset allows changelog object to be "filtered". You can assign a set of
revision numbers to the `changelog.filteredrevs` attributes. The changelog will
then pretends these revision does not exists in this repo.

A few methods need to be altered to achieve this behavior:

- tip
- __iter_
- irevs
- hasnode
- headrevs

For consistency and to help debugging, the following methods are altered too.
Tests tend to show it's not necessary to alter them but have them raise proper
exception helps to detect bad acces to filtered revisions.

- rev
- node
- linkrev
- parentrevs
- flags

The following methods would also need alteration for consistency purpose but
this is non-trivial and not done yet.

- nodemap
- strip

The C version of headrevs is not run if there is any revision to filter. It'll
need a proper rewrite later to restore performance.
2012-09-20 19:02:47 +02:00
contrib lock-checker: new contrib extension based on work done by Mads 2012-08-01 22:13:27 -05:00
doc doc: add the tool to check section marks in help documents 2012-08-13 21:25:48 +09:00
hgext histedit: move continue logic into a dedicated function 2012-09-27 13:54:47 +02:00
i18n merge with stable 2012-09-27 15:51:14 -05:00
mercurial clfilter: introduce filteredrevs attribute on changelog 2012-09-20 19:02:47 +02:00
tests merge with stable 2012-09-27 15:51:14 -05:00
.hgignore hgignore: ignore zip files 2012-07-29 09:03:51 +02:00
.hgsigs Added signature for changeset 6f24a67844f4 2012-09-01 12:49:43 -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 mq: add a warning about uncommitted changes for qfinish 2011-11-10 15:40:34 -06:00
Makefile Makefile: add build_hgexe -i for local 2012-06-29 13:12:35 +02:00
README readme: mention how to run in-place 2012-03-02 21:43:55 +02:00
setup.py pathencode: new C module with fast encodedir() function 2012-09-18 11:43:30 +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

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.