我可以知道拥有.hgtags的目的是什么?我可以删除它吗?因为它不在.hg文件夹中,并且似乎"污染"我的实际源代码目录.
Fre*_*urk 13
$ 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).
...
从您链接的问题:
Mercurial目前在不受版本控制的事物和可能破坏的事物之间有一个非常好的分离.
因为.hgtags是版本控制的,所以它不是 .hg.比较.hg/hgrc(在.hg中;不是版本控制的)和.hgignore(不在.hg中;版本控制).