pulling/clone of tagged changesets

Steve Borho steve at borho.org
Wed Dec 9 22:02:54 CST 2009


On Wed, Dec 9, 2009 at 8:40 PM, TK Soh <teekaysoh at gmail.com> wrote:
> I believe this has been discussed, so sorry if I bring this up again,
> but I couldn't locate the threads.
>
> The issue here is that clone/pull --rev TAGNAME will not pull the
> tagging changeset of TAGNAME. While I can roughly imagine some
> circumstance can make this difficult, I wonder if there's any tip to
> address this, even if just partially.

I think the recommended approach since 1.4 is to use:

hg clone -u TAGNAME remote

This does a complete clone, then updates to the specified tag/branch.

--
Steve Borho


More information about the Mercurial mailing list