mercurial/commands.py
branchstable
changeset 15610 09b200396384
parent 15511 6cae68a361ed
child 15611 ec8a49c46d7e
child 15615 41885892796e
--- a/mercurial/commands.py	Sun Dec 04 18:22:25 2011 +0100
+++ b/mercurial/commands.py	Mon Dec 05 17:09:11 2011 -0600
@@ -819,6 +819,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
@@ -835,11 +840,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.
     """