report bug in 'hg branches'

Matt Mackall mpm at selenic.com
Wed Dec 16 15:01:36 CST 2009


On Wed, 2009-12-16 at 12:04 -0800, Todd Cooper wrote:
> Since I did not get any response earlier, I thought I would try the
> devel list.
> I see what happens, the clone is a partial clone.
> I think this is a documentation bug then.

>From 'hg help clone':

v1.3:
    If you use the -r/--rev option to clone up to a specific revision,
    no subsequent revisions (including subsequent tags) will be
    present in the cloned repository. This option implies --pull, even
    on local repositories.

v1.4.1:
    Use 'hg clone -u . src dst' to checkout the source repository's parent
    changeset (applicable for local source repositories only).

    A set of changesets (tags, or branch names) to pull may be specified by
    listing each changeset (tag, or branch name) with -r/--rev. If -r/--rev is
    used, the cloned repository will contain only a subset of the changesets
    of the source repository. Only the set of changesets defined by all
    -r/--rev options (including all their ancestors) will be pulled into the
    destination repository. No subsequent changesets (including subsequent
    tags) will be present in the destination.

Let us know if you think something is still missing.


-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list