[PATCH V2] update: mention how update can be used to cancel an uncommitted merge
Adrian Buehlmann
adrian at cadifra.com
Mon Jul 9 11:57:23 CDT 2012
# HG changeset patch
# User Adrian Buehlmann <adrian at cadifra.com>
# Date 1341852954 -7200
# Node ID 446f1216a5beafc8063055fdabdd1542b3efde4c
# Parent 5d6cbfa975bf2ad0a7b005287617e91e4c38b7b3
update: mention how update can be used to cancel an uncommitted merge
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -5717,6 +5717,9 @@
3. With the -C/--clean option, uncommitted changes are discarded and
the working directory is updated to the requested changeset.
+ To cancel an uncommitted merge (and lose your changes), use
+ :hg:`update --clean .`.
+
Use null as the changeset to remove the working directory (like
:hg:`clone -U`).
More information about the Mercurial-devel
mailing list