May I know what is the purpose of having .hgtags? Can I remove it? As it is not in .hg
folder, and seems "pollute" my actual source code directory.
https://bz.mercurial-scm.org/show_bug.cgi?id=1205
…of graffiti, known as “tagging,” which entailed the repeated use of a single symbol or series of symbols to mark territory. In order to attract the most attention possible, this type of graffiti usually appeared in strategically or centrally located neighbourhoods.
Tags enable you to categorize your AWS resources in different ways, for example, by purpose, owner, or environment. This is useful when you have many resources of the same type—you can quickly identify a specific resource based on the tags that you've assigned to it.
Using tags to categorize customer feedback makes it possible to understand qualitative data. This process is essential for understanding your customers' issues, gaining actionable insights, and taking your customer service to the next level. Customers leave more feedback than ever before.
Tags are considered an important ranking factor in YouTube's search algorithm. Why are Tags Important? Like any piece of metadata, your tags are an opportunity to give YouTube and Google information about your video… including your video's topic, category, and more.
$ hg tag --help hg tag [-f] [-l] [-m TEXT] [-d DATE] [-u USER] [-r REV] NAME... add one or more tags for the current or given revision ... To facilitate version control, distribution, and merging of tags, they are stored as a file named ".hgtags" which is managed similarly to other project files and can be hand-edited if necessary. The file '.hg/localtags' is used for local tags (not shared among repositories). ...
From the issue you linked:
Mercurial currently has a very nice separation between things which are not version-controlled and things that are which this would ruin.
Because .hgtags is version-controlled, it is not in .hg. Compare to .hg/hgrc (in .hg; not version-controlled) and .hgignore (not in .hg; version-controlled).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With