Tags in forests. My solution(s).

Vadim Lebedev vadim at mbdsys.com
Fri Jun 6 14:27:51 CDT 2008


Roman Kennke wrote:
> Hi there,
>
> after a longish oddysee to find a way to implement tagging with forests,
> I found a solution that works fine for me and is straightforward (I just
> wish somebody would have put my nose on that earlier). I wrote a small
> blog post on that:
>
> http://kennke.org/blog/2008/06/06/tags-with-mercurial-and-forests/
>
> To make it short, my solution is to implement tags just like branches:
> As simple (f)clones. To be honest, I think the hg tag command is not
> very useful and seems like something that doesn't really fit. It should
> probably be an extension, not a core command. At least, using clones
> feels much more natural to HG and avoids many problems that I had with
> hg tag. I think that this approach should be recommended over hg tag, or
> do you generally disagree with that?
>
> Cheers, Roman
>
>   

Roman,

Why don't you simply tag a repo containing the snapshot file?


Thanks
Vadim


More information about the Mercurial mailing list