设置或更改 THG (TortoiseHg) 分支颜色 [英] Set or change THG (TortoiseHg) branch color
问题描述
有时偶然或不知为何,TortoiseHg 会改变树枝颜色.
我试图在 ,使用橙色作为稳定分支Stable:#FC951E
根据官方文档,该值是 SPACE 分隔的分支列表.
<块引用>分支名称中的空格和冒号必须使用反斜杠 (\) 进行转义
Sometimes by accident, or by who knows what, TortoiseHg changes branch colors.
I tried to find in the documentation how to set branch colors explicitly, but it didn't worked.
I tried an extension named 'color' but don't know how to configure it.
It seems the Workbench settings UI can help with the correct syntax for the config file.
It can be used as documented: branchname:#HTML_Color
, just need to put it in the correct setting name
What is in the config file at the end is:
branchcolors = Stable:#FC951E
, using orange for the Stable branch Stable:#FC951E
As documented officially, the value is SPACE separated list of branches.
Spaces and colons in the branch name must be escaped using a backslash (\)
这篇关于设置或更改 THG (TortoiseHg) 分支颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!