Mercurial > public > mercurial-scm > hg
diff mercurial/commands.py @ 6353:04d615b2d5e9
Merge main and crew.
author | Dirkjan Ochtman <dirkjan@ochtman.nl> |
---|---|
date | Sat, 22 Mar 2008 20:15:30 +0100 |
parents | 34e4f4ef4936 6aa4a3fa4e60 |
children | b22b39059722 |
line wrap: on
line diff
--- a/mercurial/commands.py Sat Mar 22 20:03:00 2008 +0100 +++ b/mercurial/commands.py Sat Mar 22 20:15:30 2008 +0100 @@ -2750,15 +2750,15 @@ tip of the current branch if none is specified. See 'hg help dates' for a list of formats valid for -d/--date. - If there are no outstanding changes in the working directory and - there is a linear relationship between the current version and the - requested version, the result is the requested version. - - To merge the working directory with another revision, use the - merge command. - - By default, update will refuse to run if doing so would require - discarding local changes. + If there are no outstanding changes in the working directory, the + result is the requested version. + + If the requested version is a descendant of the working directory + and there are outstanding changes, those changes will be merged + into the result. + + By default, update will refuse to run if there are outstanding + changes and the update spans branches. """ if rev and node: raise util.Abort(_("please specify just one revision"))