用户的Subversion配置文件存储在主要操作系统中的哪个位置?

时间:2012-05-16 11:33:24

标签: svn config configuration-files

对于Subversion 1.7,位于各种主要操作系统(特别是Windows,Mac OS X和Linux)上的SVN“config”文件在哪里?

5 个答案:

答案 0 :(得分:121)

~/.subversion/config 要么 /etc/subversion/config

适用于Mac / Linux

%appdata%\subversion\config

for Windows

答案 1 :(得分:6)

在Windows 7,8和10中,您可以在以下位置找到

C:\Users\<user>\AppData\Roaming\Subversion

如果您在Windows资源管理器地址栏中输入以下内容,则会将您带到那里。

%appdata%\Subversion

答案 2 :(得分:3)

~/.subversion

中不确定Win但是n * nix(OS X,Linux等)

答案 3 :(得分:0)

@Baxter基本上是正确的,但是缺少一个重要的Windows特定细节。

Subversion的运行时配置区域存储在<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta http-equiv="X-UA-Compatible" content="ie=edge"> <title>Document</title> </head> <body> <form action="" id="form"> <input type="text" name="fname" placeholder="Fname"> <input type="text" name="lname" placeholder="Lname"> <input type="text" name="points" placeholder="Points"> </form> <button id="btn">Add Row</button> <table id="table"></table> </body> </html>目录中。文件是%APPDATA%\Subversion\config

但是,除了基于文本的配置文件之外,Subversion客户端还可以使用Windows注册表来存储客户端设置。它使您可以方便地使用PowerShell修改设置,并通过AD组策略将这些设置分发到Active Directory环境中的用户工作站。请参见SVNBook | Configuration and the Windows Registry(您可以在其中找到示例和示例servers文件)。

enter image description here

答案 4 :(得分:0)

在TortoiseSVN中,您可以在资源管理器的上下文菜单“设置/常规”中访问和修改某些设置。

例如“全局忽略模式”可以直接在对话框中进行编辑。如bahrep在她的回答中指出的那样,此类更改存储在注册表中。

(Win10 / TortoiseSVN 1.13.1,Build 28686-64 Bit)