可视化SVN服务器项目导入
昨天我安装了Visual SVN Server。创建了一些存储库(带有主干、标签、分支结构)并尝试将我的项目导入其中。但是当我查看存储库文件夹结构时,它是这样的:
在示例中,我看到导入命令显示为没有指向 trunk 子文件夹存储库 URL。后来我尝试签出,但没有 .svn 文件夹,并且文件夹结构与我的存储库中相同。
我做错了什么?
Yesterday I installed Visual SVN Server. Created some repository (with trunk, tags, branch structure) and tried to import my project into it. But when I looked at repository folder structure it was like this:
In examples I saw import command is shown without pointing trunk subfolder in the repository URL. Later I tried to make a checkout but there was no .svn folder and there was the same folder structure as in my repository.
What do I do wrong?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可能已使用 URL 导入项目:https://ALEX-PC/svn/SomeRepository/。如果要将项目存储到“SomeRepository”的“trunk”文件夹中,则应使用 URL 导入项目: https://ALEX-PC/svn/SomeRepository/trunk/。
我还注意到您的存储库中有 BusinessObjectsFramework.suo 文件。扩展名为 .suo 的文件是特定的 Visual Studio 工作文件,不应将它们导入到存储库中。我推荐您使用 VisualSVN(插件) for Visual Studio。它使用 Subversion 简化了您的版本控制工作流程。 VisualSVN 具有“将解决方案添加到 Subversion”功能,可将您的解决方案添加到存储库中。如果您要使用此功能,您还需要指向正确的 URL(如上所述)。
Probably you have imported your project using URL: https://ALEX-PC/svn/SomeRepository/. If you want to store your project into the "trunk" folder of "SomeRepository", you should import your project using URL: https://ALEX-PC/svn/SomeRepository/trunk/.
As also I noticed that you have BusinessObjectsFramework.suo file in your repository. Files with .suo extension are specific Visual Studio working files and they shouldn't be imported to the repository. I recommend you to use VisualSVN(plug-in) for Visual Studio. It simplify your version control working process with Subversion. VisualSVN has "Add Solution to Subversion" function that adds your solution to the repository. If you will use this function, you need to point right URL as well (as described above).