[PATCH] clone: move bookmarks and checkouts before pull help
timeless
timeless at mozdev.org
Tue Jan 5 20:00:22 UTC 2016
# HG changeset patch
# User timeless <timeless at mozdev.org>
# Date 1452023961 0
# Tue Jan 05 19:59:21 2016 +0000
# Node ID d1518cc222945edc0aaa52b6ef041e0c8c1677e0
# Parent b8405d739149cdd6d8d9bd5e3dd2ad8487b1f09a
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.
diff --git a/mercurial/commands.py b/mercurial/commands.py
--- a/mercurial/commands.py
+++ b/mercurial/commands.py
@@ -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
More information about the Mercurial-devel
mailing list