multi-headed repo (was Re: new user questions)
Matt Mackall
mpm at selenic.com
Thu Jun 2 23:55:53 UTC 2005
On Thu, Jun 02, 2005 at 09:30:31AM -0400, Christopher Li wrote:
> On Wed, Jun 01, 2005 at 10:45:29PM -0700, Matt Mackall wrote:
> > I don't want to tag revisions as I commit them because that means
> > there's no way to tag something once it's gone past.
> >
> > I suppose I could gather tags from all heads, but that's a bit
> > painful. Though caching might alleviate that. But I'd still need to
> > deal with potential conflicts.
> >
>
> How about let the tag file just as some thing like a normal file, but live in
> .hg. The very first entry of manifest points to this tag file. You change
> the tag file you generate a change new log. The new tag change can be pulled.
This is the same as the current approach except for the name changes
from .hgtags to .hg/tags. The problem is that there may be multiple
heads of this file, regardless of where it is in the namespace.
And those heads might have conflicting definitions of a given tag.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list