clone: move bookmarks and checkouts before pull help
authortimeless <timeless@mozdev.org>
Tue, 05 Jan 2016 19:59:21 +0000
changeset 27669 b1824a1725ed
parent 27668 369c8f9453c2
child 27670 4374f039d269
clone: move bookmarks and checkouts before pull help The bookmark/checkout help actually split the pull help. The subsequent verbose container is talking about pull too. This change puts the pull help back together again.
mercurial/commands.py
--- a/mercurial/commands.py	Mon Jan 04 09:44:58 2016 -0800
+++ b/mercurial/commands.py	Tue Jan 05 19:59:21 2016 +0000
@@ -1457,6 +1457,12 @@
     destinations. For ``ssh://`` destinations, no working directory or
     ``.hg/hgrc`` will be created on the remote side.
 
+    If the source repository has a bookmark called '@' set, that
+    revision will be checked out in the new repository by default.
+
+    To check out a particular version, use -u/--update, or
+    -U/--noupdate to create a clone with no working directory.
+
     To pull only a subset of changesets, specify one or more revisions
     identifiers with -r/--rev or branches with -b/--branch. The
     resulting clone will contain only the specified changesets and
@@ -1468,12 +1474,6 @@
        Specifying a tag will include the tagged changeset but not the
        changeset containing the tag.
 
-    If the source repository has a bookmark called '@' set, that
-    revision will be checked out in the new repository by default.
-
-    To check out a particular version, use -u/--update, or
-    -U/--noupdate to create a clone with no working directory.
-
     .. container:: verbose
 
       For efficiency, hardlinks are used for cloning whenever the