clone by tag, but tag doesn't appear in the clone
Brendan Cully
brendan at kublai.com
Tue Dec 2 14:11:57 CST 2008
On Tuesday, 02 December 2008 at 12:08, Paul J. Morris wrote:
>
> Hi Issac,
>
>
> I thought this may be the case. Bit of a nuisance, currently looking at
> moving from CVS. Our build process uses checkout by tag, so the build
> process knows what it's tag is.
checkout is different from pull. There's probably little harm in
pulling everything, then updating to the tag. That'll keep the tag
info available.
(I agree this behaviour is not the friendliest)
> Isaac Jurado wrote:
> >
> > 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.
> >
>
More information about the Mercurial
mailing list