开发者

AnkhSVN: No Versioned Parent Directories when adding a Web Site

开发者 https://www.devze.com 2022-12-27 17:55 出处:网络
I\'ve recently been trying out Ankhsvn and I quite like it, and more importantly, it generally likes me.

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 AnkhS开发者_运维知识库VN. 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.


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.

0

精彩评论

暂无评论...
验证码 换一张
取 消