comparison 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
comparison
equal deleted inserted replaced
27668:369c8f9453c2 27669:b1824a1725ed
1455 1455
1456 Only local paths and ``ssh://`` URLs are supported as 1456 Only local paths and ``ssh://`` URLs are supported as
1457 destinations. For ``ssh://`` destinations, no working directory or 1457 destinations. For ``ssh://`` destinations, no working directory or
1458 ``.hg/hgrc`` will be created on the remote side. 1458 ``.hg/hgrc`` will be created on the remote side.
1459 1459
1460 If the source repository has a bookmark called '@' set, that
1461 revision will be checked out in the new repository by default.
1462
1463 To check out a particular version, use -u/--update, or
1464 -U/--noupdate to create a clone with no working directory.
1465
1460 To pull only a subset of changesets, specify one or more revisions 1466 To pull only a subset of changesets, specify one or more revisions
1461 identifiers with -r/--rev or branches with -b/--branch. The 1467 identifiers with -r/--rev or branches with -b/--branch. The
1462 resulting clone will contain only the specified changesets and 1468 resulting clone will contain only the specified changesets and
1463 their ancestors. These options (or 'clone src#rev dest') imply 1469 their ancestors. These options (or 'clone src#rev dest') imply
1464 --pull, even for local source repositories. 1470 --pull, even for local source repositories.
1465 1471
1466 .. note:: 1472 .. note::
1467 1473
1468 Specifying a tag will include the tagged changeset but not the 1474 Specifying a tag will include the tagged changeset but not the
1469 changeset containing the tag. 1475 changeset containing the tag.
1470
1471 If the source repository has a bookmark called '@' set, that
1472 revision will be checked out in the new repository by default.
1473
1474 To check out a particular version, use -u/--update, or
1475 -U/--noupdate to create a clone with no working directory.
1476 1476
1477 .. container:: verbose 1477 .. container:: verbose
1478 1478
1479 For efficiency, hardlinks are used for cloning whenever the 1479 For efficiency, hardlinks are used for cloning whenever the
1480 source and destination are on the same filesystem (note this 1480 source and destination are on the same filesystem (note this