设置实例时优秀TortoiseSVN ,我发现自己重复了它的设置,例如“默认 checkout 文件夹”和“全局忽略模式”(以及许多其他设置,例如链接的工具)。这是一种痛苦。后者存储在哪里?
我在注册表项[HKEY_CURRENT_USER\Software\TortoiseSVN]
周围找到了前者,但缺少“全局忽略模式”。用户树的文本搜索也找不到它。它在哪里?
最佳答案
来自 Subversion 的自述文件,无论如何它似乎是与 TortoiseSVN 一起安装的:
File locations
==============
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 设置,因此这可能是查看的正确位置。
HKEY_LOCAL_MACHINE\SOFTWARE\TortoiseSVN
似乎包含 TortoiseSVN 工具的路径。
HKEY_CURRENT_USER\Software\TortoiseSVN
不过还有更多工具。
关于svn - TortoiseSVN 在哪里存储其设置(例如,全局忽略模式)?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/6369680/