Why are tags in commits
Kastner Masilko, Friedrich
kastner-masilko at at.festo.com
Wed Feb 27 08:09:16 UTC 2013
> From: ezquerra at gmail.com [mailto:ezquerra at gmail.com] On Behalf Of
> Angel Ezquerra
>
> On Tue, Feb 26, 2013 at 8:51 PM, Jensen, Aaron <ajensen at webmd.net>
> wrote:
> >> Better yet, it would be really cool if mercurial had a built-in tag
> merge tool or algorithm...
> >
> > Why merge .hgtags at all? If the sum of all tags is the state of
> > the .hgtags at the head of each branch, does it really need to be
> > merged across branches?
>
> I don't understand how that solves the problem. Aren't you losing
> whichever tags were defined on the merged branch?
It doesn't solve it. If you throw away the second head's .hgtag with this, you WILL lose the tags. It will also confuse the hell out of you the next time you create a new topological head on top of the dismissed one, because then the tags suddenly re-appear again. This even applies on merging different NAMED branches, as it seems like the tag mechanism only takes topological heads into account.
I just tried this with 2.4, so this is not from speculation, but from experience.
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