clone by tag, but tag doesn't appear in the clone
Paul J. Morris
paul.morris at solnetsolutions.co.nz
Tue Dec 2 20:29:21 UTC 2008
Thanks Brendan,
I thought that there would have to be an equivalent way using mercurial -
just a question adjusting to a new way of thinking.
regards,
Paul Morris
Brendan Cully-4 wrote:
>
> 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.
>> >
>>
> _______________________________________________
> Mercurial mailing list
> Mercurial at selenic.com
> http://selenic.com/mailman/listinfo/mercurial
>
>
--
View this message in context: http://www.nabble.com/clone-by-tag%2C-but-tag-doesn%27t-appear-in-the-clone-tp20786094p20800237.html
Sent from the Mercurial mailing list archive at Nabble.com.
More information about the Mercurial
mailing list