changeset 14631:234b9795d74e

commands: add pointer to bookmarks command in branch help
author Martin Geisler <mg@aragost.com>
date Wed, 15 Jun 2011 17:25:58 +0200
parents f536151d392f
children 4819241ec1ad
files mercurial/commands.py
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/mercurial/commands.py	Wed Jun 15 17:10:26 2011 +0200
+++ b/mercurial/commands.py	Wed Jun 15 17:25:58 2011 +0200
@@ -765,6 +765,12 @@
     Use the command :hg:`update` to switch to an existing branch. Use
     :hg:`commit --close-branch` to mark this branch as closed.
 
+    .. note::
+
+       Branch names are permanent. Use :hg:`bookmark` to create a
+       light-weight bookmark instead. See :hg:`help glossary` for more
+       information about named branches and bookmarks.
+
     Returns 0 on success.
     """