Tagging idea

Matt Mackall mpm at selenic.com
Fri Nov 6 10:25:55 CST 2009


On Fri, 2009-11-06 at 11:13 -0500, Greg Ward wrote:
> On Fri, Nov 6, 2009 at 7:09 AM, Martin Geisler <mg at lazybytes.net> wrote:
> > But we talked some more, and came up with an idea: instead of letting
> > tags *point* to revisions, we can let tags *be* revisions.
> >
> > What we mean by this is that a tag is a commit. So given
> >
> >  o --- o
> >
> > I can make a tag A by making a new commit with extra['tag'] = 'A':
> >
> >  o --- o --- A
> 
> Interesting idea.  But it might be purely academic unless you have a
> really amazing time machine: we have to support .hgtags forever, so
> adding a second tagging mechanism could be a real headache.

Indeed. Given we still get reports from people using 0.9, I'm highly
reluctant to change anything about the schema that would break
compatibility between old and new clients.

-- 
http://selenic.com : development and support for Mercurial and Linux




More information about the Mercurial-devel mailing list