简体   繁体   English

默认情况下如何禁用svn-needs-lock?

[英]How to disable svn-needs-lock by default?

After I got a fresh workstation computer, there is something different with my SVN setup. 买了新的工作站计算机后,SVN设置有所不同。 All files I create have svn:needs-lock property set by default. 我创建的所有文件默认都设置了svn:needs-lock属性。 Actually this wasn't the case in the past and I do not really need it because there too little concurrent developers here. 实际上,过去不是这种情况,我真的不需要它,因为这里并发开发人员太少了。

Could you please tell me how to configure my computer to not set this property by default? 您能否告诉我如何配置我的计算机默认不设置此属性?

System: Windows 7 系统:Windows 7

SVN client: TortoiseSVN SVN客户端:TortoiseSVN

There can be various reasons why you have svn:needs-lock property automatically applied on your versioned files: 您可能有多种原因将svn:needs-lock属性自动应用于版本化文件:

  1. You have enable-auto-props = yes set in [miscellany] section of you %APPDATA%\\Subversion\\config file (Subversion runtime configuration area) and the [auto-props] section is configured to set svn:needs-lock on every file. 你必须enable-auto-props = yes在集[miscellany]你节%APPDATA%\\Subversion\\config文件(Subversion的运行配置区)和[auto-props]部分配置设置svn:needs-lock在每文件。

  2. You have tsvn:autoprops property applied on folders in your repository. 您已将tsvn:autoprops属性应用于存储库中的文件夹。

  3. You use Subversion 1.8 client and the repository has svn:auto-props property applied on it's root or project's root. 您使用Subversion 1.8客户端,并且存储库的根目录或项目的根目录应用了svn:auto-props属性。

Have I missed something? 我错过了什么吗?

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM