AnkhSVN:添加网站时没有版本控制的父目录

发布于 2024-08-29 19:28:17 字数 357 浏览 8 评论 0原文

我最近一直在尝试 Ankhsvn,我非常喜欢它,更重要的是,它总体上也喜欢我。

但我在使用 AnkhSVN 将现有 VS 项目添加到 subversion 时遇到了问题。大多数 Windows 和 Web 项目都可以很好地添加,但是当我尝试网站(而不是 Web 应用程序)时,我遇到了问题,在这些情况下,我收到以下错误:

No versioned parent directories

经过一些谷歌搜索后,我遇到了其他人同样的问题,已经有一两个解决该问题的建议,但到目前为止还没有奏效。

AnkhSVN 足够流行,尽管现在 Web 应用程序通常比网站更受欢迎,但我希望这里有人有一个现成的解决方案。

I've recently been trying out Ankhsvn and I quite like it, and more importantly, it generally likes me.

But I've hit a problem adding existing VS projects to subversion using AnkhSVN. Most Windows and Web projects are added fine, but I have a problem when I try to a Websites (as opposed to Web Applications), and in these cases I get the following error:

No versioned parent directories

After some googling, I've come across other people with the same problems and there have been one or two suggests for solving the problem, but non so far have worked.

AnkhSVN is popular enough, and although web applications are often preferred to websites these days, I'm hoping that someone here has a ready solution available.

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

平生欢 2024-09-05 19:28:17

最可能的原因是网站与解决方案不共享共同的根。自动向 Subversion 添加新的解决方案需要它们共享一个公共根(目前)。

您可以手动将项目添加到 Subversion 存储库中的正确位置,AnkhSVN 会识别它们。这样做的问题是您的布局不必与其他开发人员的布局相匹配。因此,最好的解决方案是将网站移动到解决方案根目录中的目录,就像项目一样。

The most likely cause for this is that web sites don't share a common root with the solution. Adding a new solution to Subversion automatically requires them to share a common root (for now).

You can manually add the projects to the correct positions in the Subversion repository, and AnkhSVN will recognize them. The problem with this is that your layout doesn't have to match that of a fellow developer. Therefor the best solution is to move the website to a directory in the solution root, just like projects.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文