Tags in forests. My solution(s).

Roman Kennke roman.kennke at aicas.com
Fri Jun 6 14:39:24 CDT 2008


Hi Vadim,

> > 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?

Sounds like it would have all the disadvantages of the hg tag and hg
fsnap approach. Basically, the problem is merging the stuff into one
repository automatically (say, from a shell script). Please read that
email in reply to Doug for a little more background.

Cheers, Roman

-- 
Dipl.-Inform. (FH) Roman Kennke, Software Engineer, http://kennke.org
aicas Allerton Interworks Computer Automated Systems GmbH
Haid-und-Neu-Straße 18 * D-76131 Karlsruhe * Germany
http://www.aicas.com   * Tel: +49-721-663 968-0
USt-Id: DE216375633, Handelsregister HRB 109481, AG Karlsruhe
Geschäftsführer: Dr. James J. Hunt




More information about the Mercurial mailing list