clone by tag, but tag doesn't appear in the clone

Isaac Jurado diptongo at gmail.com
Tue Dec 2 04:16:09 CST 2008


On Tue, Dec 2, 2008 at 5:47 AM, Paul J. Morris
<paul.morris at solnetsolutions.co.nz> wrote:
>
> I'm cloning a repository by a specific tag, yet in the cloned
> repository "hg tags" doesn't list the tag that the repository was
> cloned from.

This is a Mercurial design issue (personally, is the only thing I really
hate about it).

Tags are "archived" as a later revisions.  Therefore, if you only clone
until the tag, the tag itself is not propagated as the revision that
stores the tag in .hgtags is AFTER the revision referenced by the tag.

I hope I didn't mess the explanation up.

-- 
Isaac Jurado
http://www.krenel.net

"The noblest pleasure is the joy of understanding"
Leonardo da Vinci


More information about the Mercurial mailing list