Counterintuitive tag behaviour (broken design?)
Johan Herland
johherla at online.no
Wed Mar 14 21:30:07 UTC 2007
On Wednesday 14 March 2007, Georg-W. Koltermann wrote:
> Am Mittwoch, den 14.03.2007, 18:45 +0100 schrieb Johan Herland:
> > I agree that tags MUST be version controlled, but I don't think
> > they should be branchable. Branchable tags directly violates (i).
>
> I don't see how that branching can possibly be avoided. Remember
> Mercurial is a distributed and disconnected system. I may tag my
> repository while offline, you may do the same. The possible
> branching will only be apparent when we push/pull.
>
> No, I believe in a distributed repository there is simply no way to
> avoid branching. That's a feature.
Sorry for not being clear. I was talking about branching _within_ the
local repository. Since the global tag state is repository-wide, I
think it makes sense that the tag definitions (.hgtags) are also
repository-wide (i.e. non-branchable).
Of course we will still have to resolve tags when merging between
repositories, but at that point we may be able to get help from the
user when resolving ambiguities.
Have fun!
...Johan
--
Johan Herland, <johherla at online.no>
www.herland.net
More information about the Mercurial
mailing list