mercurial/commands.py
changeset 15611 ec8a49c46d7e
parent 15585 a348739da8f0
parent 15610 09b200396384
child 15614 260a6449d83a
--- a/mercurial/commands.py	Fri Dec 02 18:36:32 2011 +0100
+++ b/mercurial/commands.py	Mon Dec 05 17:48:40 2011 -0600
@@ -826,6 +826,11 @@
 def branch(ui, repo, label=None, **opts):
     """set or show the current branch name
 
+    .. note::
+       Branch names are permanent and global. Use :hg:`bookmark` to create a
+       light-weight bookmark instead. See :hg:`help glossary` for more
+       information about named branches and bookmarks.
+
     With no argument, show the current branch name. With one argument,
     set the working directory branch name (the branch will not exist
     in the repository until the next commit). Standard practice
@@ -842,11 +847,6 @@
     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.
     """