[PATCH] help: improve wording of update help text

Stuart W Marks smarks at smarks.org
Wed Nov 11 00:30:01 CST 2009


# HG changeset patch
# User Stuart W Marks <smarks at smarks.org>
# Date 1257920851 28800
# Node ID 50b9342c219b60a1edc974e062d849e9d63b89d7
# Parent  0d850f8beea68e7c6f7f312148546900cfc58898
help: improve wording of update help text

diff -r 0d850f8beea6 -r 50b9342c219b mercurial/commands.py
--- a/mercurial/commands.py	Wed Nov 04 13:44:15 2009 -0600
+++ b/mercurial/commands.py	Tue Nov 10 22:27:31 2009 -0800
@@ -3149,11 +3149,13 @@
     The following rules apply when the working directory contains
     uncommitted changes:
 
-    1. If neither -c/--check nor -C/--clean is specified, uncommitted
-       changes are merged into the requested changeset, and the merged result
-       is left uncommitted. Updating and merging will occur only if the
-       requested changeset is an ancestor or descendant of the parent
-       changeset. Otherwise, the update is aborted and the uncommitted changes
+    1. If neither -c/--check nor -C/--clean is specified, and if
+       the requested changeset is an ancestor or descendant of
+       the working directory's parent, the uncommitted changes
+       are merged into the requested changeset and the merged
+       result is left uncommitted. If the requested changeset is
+       not an ancestor or descendant (that is, it is on another
+       branch), the update is aborted and the uncommitted changes
        are preserved.
 
     2. With the -c/--check option, the update is aborted and the


More information about the Mercurial-devel mailing list