问题描述
设置出色的 TortoiseSVN 的实例时,我发现自己重复了它的设置,例如'default检出文件夹"和全局忽略模式"(以及其他许多链接工具,例如链接工具).这很痛苦.后者存储在哪里?
When setting up an instance of the excellent TortoiseSVN, I find myself repeating its settings, for example, 'default checkout folder' and 'global ignore pattern' (as well as many others such as the linked tools). This is a pain. Where is the latter stored?
我在注册表项[HKEY_CURRENT_USER\Software\TortoiseSVN]
周围找到了前者,但是缺少全局忽略模式".用户树的文本搜索也找不到.在哪里?
I've found the former around the registry key [HKEY_CURRENT_USER\Software\TortoiseSVN]
, but 'global ignore pattern' is missing. A text search of the user tree doesn't find it either. Where is it?
推荐答案
从Subversion的自述文件开始,它似乎仍然与TortoiseSVN一起安装:
From the Readme of Subversion, which seems to be installed with TortoiseSVN anyway:
==============
==============
通常,Subversion使用两个配置目录,一个用于整个站点 配置
Typically, Subversion uses two config directories, one for site-wide configuration,
Unix:
/etc/subversion/servers
/etc/subversion/config
/etc/subversion/hairstyles
Windows:
%ALLUSERSPROFILE%\Application Data\Subversion\servers
%ALLUSERSPROFILE%\Application Data\Subversion\config
%ALLUSERSPROFILE%\Application Data\Subversion\hairstyles
REGISTRY:HKLM\Software\Tigris.org\Subversion\Servers
REGISTRY:HKLM\Software\Tigris.org\Subversion\Config
REGISTRY:HKLM\Software\Tigris.org\Subversion\Hairstyles
和一个针对每个用户的配置:
and one for per-user configuration:
Unix:
~/.subversion/servers
~/.subversion/config
~/.subversion/hairstyles
Windows:
%APPDATA%\Subversion\servers
%APPDATA%\Subversion\config
%APPDATA%\Subversion\hairstyles
REGISTRY:HKCU\Software\Tigris.org\Subversion\Servers
REGISTRY:HKCU\Software\Tigris.org\Subversion\Config
REGISTRY:HKCU\Software\Tigris.org\Subversion\Hairstyles
其中一些设置实际上是Subversion设置,而不是TortoiseSVN设置,因此这可能是查找的正确位置.
Some of the settings are actually Subversion settings and not TortoiseSVN settings, so this may be the right place to look.
HKEY_LOCAL_MACHINE\SOFTWARE\TortoiseSVN
似乎包含TortoiseSVN工具的路径.
HKEY_LOCAL_MACHINE\SOFTWARE\TortoiseSVN
seems to contain paths to the TortoiseSVN tools.
HKEY_CURRENT_USER\Software\TortoiseSVN
还有很多工具.
这篇关于TortoiseSVN在哪里存储其设置(例如,全局忽略模式)?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!