Why are tags in commits

Kastner Masilko, Friedrich kastner-masilko at at.festo.com
Mon Feb 25 12:01:02 UTC 2013


> From: Christophe HENRY [mailto:listes at sbgodin.fr]
> 
> > I still don't understand what your point is. Is tagging working for
> > you or not? Did you migrate from another VCS system, so you are used
> > to another form of tagging and just curious about how it was
> > implemented the way it is? Are you interested in the reasoning that
> > lead to the current tag design?
> 
> The tagging is fully working for me. I'm just curious to see what would
> happen when workflows get more complex. I'm also looking at other DVCS
> and the way they work.
> 
> About my idea to keep all tags in a dedicated branch. It would work, I
> think, but would be pointless as people put tags related to their
> branch. I got the point too.
> 
> The situation is now clear for me. Thanks a lot for the explanations.

You're welcome. FYI, there is also a nice summary in the Wiki with many of those thoughts worked out: http://mercurial.selenic.com/wiki/TagDesign
Sorry for not pointing there earlier, I found it myself just yet.

> From: ezquerra at gmail.com [mailto:ezquerra at gmail.com] On Behalf Of Angel Ezquerra
> 
> Personally when I have tag conflicts (which fortunatelly is a rare
> occurrence) I am never quite certain as of how I should do the merge,
> particularly if there is a deleted tag.
> 
> It would be nice if the tags wiki page explained that and even showed
> an example. The tag wiki currently just says:
> 
> "Note that this multiple-head tag collision resolution algorithm
> depends on the .hgtags-file to be append only and be carefully merged.
> "
> 
> Which is not super-helpful. What does "carefully merged" mean?
> 
> Better yet, it would be really cool if mercurial had a built-in tag
> merge tool or algorithm...

I can wholeheartedly second that. I remember someone posting a draft solution for that before, though.

regards,
Fritz



Development Software Systems
Festo Gesellschaft m.b.H.
Linzer Strasse 227
Austria - 1140 Wien

Firmenbuch Wien
FN 38435y
UID: ATU14650108

Tel: +43(1)91075-198
Fax: +43(1)91075-282
www.festo.at

Der Inhalt dieses E-Mails ist ausschliesslich fuer den bezeichneten Adressaten bestimmt. Jede Form der Kenntnisnahme,
Veroeffentlichung, Vervielfaeltigung oder Weitergabe des Inhalts dieses E-Mails durch unberechtigte Dritte ist unzulaessig. Wir
bitten Sie, sich mit dem Absender des E-Mails in Verbindung zu setzen, falls Sie nicht der Adressat dieses E-Mails sind und das
Material von Ihrem Computer zu loeschen. 

This e-mail and any attachments are confidential and intended solely for the addressee. The perusal, publication, copying or
dissemination of the contents of this e-mail by unauthorised third parties is prohibited. If you are not the intended recipient of this
e-mail, please delete it and immediately notify the sender.




More information about the Mercurial mailing list