Pointing tags to new revisions
Michael Diamond
dimo414 at gmail.com
Mon Jun 28 01:10:50 UTC 2010
I use tags to keep track of the most recent revision I have pushed to a live
server, which means I'm fairly reguarly calling 'hg tag On Live Server -f'
I noticed that the .hgtags file seemed to keep a record for every single
time I'd made a change, which seemed odd to me considering Mercurial ought
to be remembering those changes in it's revsions. After reading
http://mercurial.selenic.com/wiki/Tag I understand why the tag file is
always appended, rather than just overwriting the revision the tag points
to, however I still have two questions:
1. If I feel so inclined, is it safe to manually delete the now unused lines
of .hgtags? I'm not concerned about multiple collisions here, so I assume
it is ok, but I figured I'd ask.
2. More importantly, I'm wondering why .hgtags often has more than one
reference for the same tag? It seems that when you call 'hg tag -f' it
appends both the original tag pointer (again), and the new one. Why is
that?
Michael Diamond
dimo414 at gmail.com
mdiamond at willamette.edu
http://www.DigitalGemstones.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mercurial-scm.org/pipermail/mercurial/attachments/20100627/d331e9da/attachment.html>
More information about the Mercurial
mailing list