A Scalable, User-Friendly Source Control System.
Go to file
Martin Geisler 934da465b0 phase: better error message when --force is needed
When trying to turn a draft changeset into a secret changeset, I was
told:

  % hg phase -s .
  cannot move 1 changesets to a more permissive phase, use --force
  no phases changed

That message struck me as being backwards -- the secret phase feels
less permissive to me since it restricts the changesets from being
pushed.

We don't use the word "permissive" elsewhere, 'hg help phase' talks
about "lower phases" and "higher phases". I therefore reformulated the
error message to be

  cannot move 1 changesets to a higher phase, use --force

That is not perfect either, but more in line with the help text. An
alternative could be

  cannot move phase backwards for 1 changesets, use --force

which fits better with the help text for --force.
2013-11-08 11:49:13 +01:00
contrib check-code: prepend warning prefix only once, but for each warning 2013-11-09 10:21:20 +01:00
doc doc: make i18n man and html 2013-07-03 21:50:20 +09:00
hgext histedit: hold wlock and lock while in progress 2013-11-17 15:11:09 -08:00
i18n i18n-pt_BR: fix typos in notify docs 2013-11-18 13:29:05 -02:00
mercurial phase: better error message when --force is needed 2013-11-08 11:49:13 +01:00
tests phase: better error message when --force is needed 2013-11-08 11:49:13 +01:00
.hgignore doc: make man and html from translated documents 2013-07-03 21:49:43 +09:00
.hgsigs Added signature for changeset 18c75911cf9f 2013-11-01 17:04:18 -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 doc: make i18n man and html 2013-07-03 21:50:20 +09: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.