mirror of
https://github.com/facebook/sapling.git
synced 2024-10-07 07:17:55 +03:00
help: improve wording of update help text
This commit is contained in:
parent
d8dd14a3aa
commit
ee6cd48d72
@ -3149,11 +3149,13 @@ def update(ui, repo, node=None, rev=None, clean=False, date=None, check=False):
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user