On Wed, Dec 1, 2010 at 9:13 AM, Martin Geisler <span dir="ltr">&lt;<a href="mailto:mg@lazybytes.net">mg@lazybytes.net</a>&gt;</span> wrote:<br><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
If one could mark a bookmark as fixed, then it would behave like a tag,<br>
but without any extra commits. Users could then use these bookmark-tags<br>
for new tags if they want, whereas other users can keep using old-school<br>
tags if they prefer.<br>
<br>
So no hiding and no changes to the existing tag code -- just a new kind<br>
of bookmark that knows that it should not move around when commits are<br> made.  </blockquote><div><br></div><div>That is exactly what I meant and what I was hoping for :-) </div><div><br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Btw, I&#39;m not really bothered by the extra commits or the .hgtags file,<br>
but it has been a repeated complain by many users who feel it is &quot;ugly&quot;<br>
to have Mercurial meta data in the working copy like that. I would like<br>
to offer them a solution.<br>
</blockquote><div><br></div><div>I do feel that they are ugly but I understand that it may be just a matter of taste. However I also know from personal experience that tag handling is one of the few mercurial features that is genuinely confusing for new users.</div>
<div><br></div><div>A few months ago I introduced mercurial into my company as an (amazingly good) alternative to clear-case (yuk! yuk! yuk!). Since then I have taught how to use mercurial to more than 20 people. I am really happy that no one has had any real trouble learning how to use it. It seems that the mercurial model just makes sense.</div>
<div><br></div><div>However, there is a question that pretty much everybody makes at some point, which is: &quot;why does mercurial create a new commit when you add a tag?&quot;. The answer makes sense once you understand how mercurial works, yet it often leads to more questions such as &quot;Then, why don&#39;t you lose your tags when you update to an old revision?&quot; (because mercurial treats the .hgtags file as a special case) or &quot;If I tag an old revision, why does the tag commit appear at the top of the history?&quot; (because the commit is created as a child of your previous current revision), etc. Not to mention the complaints such as &quot;This makes the history graph more complex&quot;, etc.<br>
</div><div><br></div><div>So having an _alternative_ to the current way in which tags work would definitelly get a +100 from me :-)</div><div><br></div><div>Cheers,</div><div><br></div><div>Angel</div><div><br></div><div>
P.S.- Augie, thanks for the explanation! Now I see what you meant.</div>