Configuration Mercurial中特定于存储库的特殊/dot文件

Configuration Mercurial中特定于存储库的特殊/dot文件,configuration,mercurial,hgignore,Configuration,Mercurial,Hgignore,使用hg repo时,最重要的特殊/dot文件是什么 类似于配置文件和类似文件。Mercurial回购将使用许多文件进行配置或跟踪状态,但以下是最有可能派上用场的文件: .hg/last message.txt——用于hg commit在提交失败时存储提交消息的备份。 例如: .hg/localtags——定义存储库之间不共享的本地标记。 例如: .hgignore——描述hg应忽略的文件名的正则表达式。 例如: .hg/hgrc——mercurial的默认值和配置值。 例如: .hgtags—

使用hg repo时,最重要的特殊/dot文件是什么


类似于配置文件和类似文件。

Mercurial回购将使用许多文件进行配置或跟踪状态,但以下是最有可能派上用场的文件:

.hg/last message.txt
——用于
hg commit
在提交失败时存储提交消息的备份。 例如:

.hg/localtags
——定义存储库之间不共享的本地标记。 例如:

.hgignore
——描述hg应忽略的文件名的正则表达式。 例如:

.hg/hgrc
——mercurial的默认值和配置值。 例如:

.hgtags
——包含变更集哈希值和文本标记名 示例(与localtags格式相同):


.hg\hgrc
是每个repo配置文件,对吗?在Windows上还有一个每个用户的配置,mine位于
C:\Users\username\mercurial.ini
,但我假设在Linux/Unix上也有类似的配置。这可能值得一提,以避免混淆。。。事实上,你甚至可以把Q的范围扩大一点,把它包括进去。另外,FWIW TortoiseHG在同一个设置屏幕上提供了这两种功能,因此我认为人们最需要了解这两种功能&它们是如何相互作用的。
My commit message!
8a7b128ab80b58fc2e63258c9e2bf1f58a5be7c2 myfirsttag
08ff3a0b2e5af9a74becbfdf3e92d6e9a2d0c960 secondtag
6535d105ea795a38808481b160314f9857736c53 thirdtag
syntax: glob

*.elc
*.orig
*.rej
*~
*.mergebackup
*.o
*.so
*.dll
*.exe
*.pyd
*.pyc
[ui]
verbose = True
username = Joe User <j.user@example.com>
[extensions]
hgext.churn = /home/user/hg/hg/contrib/churn.py
[hgk]
path = /home/user/hg/hg/contrib/hgk
subrepo1 = https://user@example.org/user/repo
subrepo2 = https://user@example.org/user2/repo2
8a7b128ab80b58fc2e63258c9e2bf1f58a5be7c2 myfirsttag
08ff3a0b2e5af9a74becbfdf3e92d6e9a2d0c960 secondtag
6535d105ea795a38808481b160314f9857736c53 thirdtag