A Scalable, User-Friendly Source Control System.
Go to file
FUJIWARA Katsunori d9071e6959 subrepo: add dirtyreason to centralize composing dirty reason message
This patch newly adds "dirtyreason()" to centralize composing dirty
reason message like "uncommitted changes in subrepository 'xxxx'".

There are 3 similar messages below, and this patch is a part of
preparations for unifying them into (1), too.

  1. uncommitted changes in subrepository 'XXXX'
  2. uncommitted changes in subrepository XXXX
  3. uncommitted changes in subrepo XXXX

This patch chooses adding new method "dirtyreason()" instead of making
"dirty()" return "reason string", because:

  - some of existing "dirty()" implementation is too complicated to do
    so simply, and

  - ill-mannered 3rd party subrepo classes, of which "dirty()" doesn't
    return "reason string", cause meaningless message (even though it
    is rare case)
2015-03-25 13:55:32 +09:00
contrib check-code: in C code, prevent space before closing parenthesis 2015-03-24 12:52:53 -07:00
doc spelling: fixes from proofreading of spell checker issues 2015-01-18 02:38:57 +01:00
hgext largefiles: extract and reuse 'standin' variable in overriderevert() 2015-03-24 10:27:56 -07:00
i18n style: kill ersatz if-else ternary operators 2015-03-13 17:00:06 -04:00
mercurial subrepo: add dirtyreason to centralize composing dirty reason message 2015-03-25 13:55:32 +09:00
tests subrepo: add dirtyreason to centralize composing dirty reason message 2015-03-25 13:55:32 +09:00
.hgignore hgignore: ignore the PyCharm workspace folder 2014-10-13 11:46:04 +02:00
.hgsigs Added signature for changeset f515b8dd4d3f 2015-03-02 10:29: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 hg: add support for HGUNICODEPEDANTRY environment variable 2014-06-23 09:33:07 -04: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: allow setting HGTESTFLAGS in shell environment for TESTFLAGS 2015-02-04 15:17:13 -05:00
README readme: mention how to run in-place 2012-03-02 21:43:55 +02:00
setup.py copyright: update to 2015 2015-03-02 14:52:04 +01: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.