Mercurial > hg
changeset 9831:9ebad1b93456
help: improve wording of update help text
author | Stuart W Marks <smarks@smarks.org> |
---|---|
date | Tue, 10 Nov 2009 22:27:31 -0800 |
parents | ab1625ccf3a9 |
children | 42ced358cbba |
files | mercurial/commands.py |
diffstat | 1 files changed, 7 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Wed Nov 11 20:08:26 2009 +0100 +++ 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