changeset 5999:d1fe1a4eb2b7

Mention 'hg update' to switch branches in help for branch and branches.
author Thomas Arendsen Hein <thomas@intevation.de>
date Sat, 02 Feb 2008 14:55:14 +0100
parents 5d91f6e6f841
children 8e7d64989bb8
files mercurial/commands.py
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Sat Feb 02 14:49:31 2008 +0100
+++ b/mercurial/commands.py	Sat Feb 02 14:55:14 2008 +0100
@@ -339,6 +339,8 @@
 
     Unless --force is specified, branch will not let you set a
     branch name that shadows an existing branch.
+
+    Use the command 'hg update' to switch to an existing branch.
     """
 
     if label:
@@ -358,6 +360,8 @@
     inactive.  If active is specified, only show active branches.
 
     A branch is considered active if it contains unmerged heads.
+
+    Use the command 'hg update' to switch to an existing branch.
     """
     b = repo.branchtags()
     heads = dict.fromkeys(repo.heads(), 1)