Mercurial > hg-stable
diff mercurial/commands.py @ 27669:b1824a1725ed
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.
author | timeless <timeless@mozdev.org> |
---|---|
date | Tue, 05 Jan 2016 19:59:21 +0000 |
parents | 84a9d7fc9ceb |
children | 067d87feeb11 |
line wrap: on
line diff
--- 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