snv设置全局忽略样式_snv设置全局忽略样式_TortoiseSVN在哪里存储其设置(例如,全局忽略模式)?...

95285

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?

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?

解决方案

From the Readme of Subversion, which seems to be installed with TortoiseSVN anyway:

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

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 seems to contain paths to the TortoiseSVN tools.

HKEY_CURRENT_USER\Software\TortoiseSVN has a lot more tools though.

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值