Mercurial > hg-stable
changeset 11612:0e789549271d stable
commands: fix update's help to be more accurate
Branches can have multiple heads, so it doesn't make sense to speak of "the
head of the current branch". What update really does is try to update to the
*tip* of the current branch.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Wed, 14 Jul 2010 18:28:12 -0400 |
parents | 4f5a6df2af92 |
children | 6dbdf5c5c5bd 68a30daead3f |
files | mercurial/commands.py |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/mercurial/commands.py Sun Jul 18 01:06:50 2010 +0900 +++ b/mercurial/commands.py Wed Jul 14 18:28:12 2010 -0400 @@ -3779,8 +3779,8 @@ Update the repository's working directory to the specified changeset. - If no changeset is specified, attempt to update to the head of the - current branch. If this head is a descendant of the working + If no changeset is specified, attempt to update to the tip of the + current branch. If this changeset is a descendant of the working directory's parent, update to it, otherwise abort. The following rules apply when the working directory contains