如何使用 Visual Studio 通过 AnkhSVN 插件设置 svn:needs-lock Subversion 属性? [英] How can I set the svn:needs-lock Subversion property through AnkhSVN plug-in with Visual Studio?
问题描述
我在 Visual Studio 2008 中使用 AnkhSVN 插件.我使用的是托管在网络上的免费存储库.我没有为此存储库使用 Subversion 客户端,而是使用 AnkhSVN 插件管理所有内容(包括将解决方案文件和项目文件添加到新存储库).
I am using the AnkhSVN plug-in with Visual Studio 2008. I am using a free repository hosted on the web. I am not using a Subversion client for this repo, but managing everything with AnkhSVN plug-in (including adding solution file and project files to the new repository).
我想将 svn:needs-lock
属性添加到这些文件中.我想知道我是否可以使用 AnkhSVN 来完成这项任务,或者我是否需要为此目的获得另一个 Subversion 客户端.
I want to add the svn:needs-lock
property to these files. I wonder if I can do this task using AnkhSVN, or if I need to get another Subversion client for this purpose.
推荐答案
in Visual Studio.. 在工具 - 选项 - 源代码管理中,可以将插件值更改为 AnkhSVN.执行此操作后,subversion 环境"将出现在源代码管理下的树中.选择它,然后您可以选中在未经用户确认的情况下自动锁定更改文件".我认为这会完成你想要的.
in Visual Studio.. In Tools - Options - Source Control, you can change the plug-in value to AnkhSVN. After you do that, "subversion environment" appears in the tree under source control. Select that, then you can check "automatically lock files on change without user confirmation". I think this will accomplish what you want.
这篇关于如何使用 Visual Studio 通过 AnkhSVN 插件设置 svn:needs-lock Subversion 属性?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!