在 Subversion 控制的 Visual Studio 工作副本中使用“_svn"目录而不是“.svn"还有其他好处吗 [英] Is there any other advantage to using '_svn' directories instead of '.svn' in a Subversion controlled Visual Studio working copy

查看:26
本文介绍了在 Subversion 控制的 Visual Studio 工作副本中使用“_svn"目录而不是“.svn"还有其他好处吗的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我听说 Visual Studio 不喜欢来自 subversion 存储库的工作副本中的 .svn 目录,并且使用_svn"是更好的选择.除了不被探险家隐藏,还有什么玄妙的优势,还是说这都是下流的谣言?

I've heard that Visual Studio doesn't like the .svn directories in a working copy from a subversion repository, and that using '_svn' is a better choice. Apart from not being hidden by the explorer, what is this mysterious advantage, or is this all a dirty rumour?

推荐答案

Visual Studio 2002 和 2003 存在目录以点开头的问题.尤其是将它们与 webprojects 和 FrontPage 服务器扩展结合使用时.

Visual Studio 2002 and 2003 had problems with directories starting with a dot. Especially when using them in combination with webprojects and FrontPage server extensions.

如果您只使用 Visual Studio 2005 及更高版本,我建议您只使用 Subversion 默认的 .svn.

If you use only Visual Studio 2005 and later I would recommend to just use the Subversion default of .svn.

当您定义环境变量 SVN_ASP_DOT_NET_HACK 时,大多数 Subversion 客户端会自动切换到使用 _svn.定义此变量的最简单方法是在 TortoiseSVN 中选择 _svn 设置.其他客户端随后将自动使用此设置.

Most Subversion clients automatically switch to using _svn when you define the environment variable SVN_ASP_DOT_NET_HACK. The easiest way to define this variable is selecting the _svn setting in TortoiseSVN. Other clients will then automatically use this setting.

这篇关于在 Subversion 控制的 Visual Studio 工作副本中使用“_svn"目录而不是“.svn"还有其他好处吗的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆