windows 如何远程访问我的 svn 存储库?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/7885387/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-15 18:21:06  来源:igfitidea点击:

how do I access my svn repository remotely?

windowssvnversion-control

提问by Amen Ra

I have a domain. And I have a dedicated windows server. It has svn installed and I created a svnrepository. How do I setup usernames and passwords to access it. And how do I access it remotely without having to go through remote desktop? My repository is located remotely on my server at c:\svn

我有一个域。我有一个专用的 Windows 服务器。它已经安装了 svn 并且我创建了一个svn存储库。如何设置用户名和密码来访问它。以及如何远程访问它而无需通过远程桌面?我的存储库远程位于我的服务器上c:\svn

回答by Frozendragon

I'm not exactly sure how you have structure up the directory in your svn server but the file path use to look something like this. svn\repository\projectname\conf

我不太确定您如何在 svn 服务器中构建目录,但文件路径使用看起来像这样。svn\repository\projectname\conf

in this folder you will find a file named passwd open it in a text editor and input the username you want to your svn like this. username = password

在这个文件夹中,你会找到一个名为 passwd 的文件,在文本编辑器中打开它,然后像这样输入你想要的用户名到你的 svn。用户名 = 密码

About the remote access it should be ready from the beginning. Using the hierarchy i showed before the link should looks like this.

关于远程访问它应该从一开始就准备好了。使用我在链接之前显示的层次结构应该是这样的。

svn://domain.topdomain/projectname

svn://domain.topdomain/项目名称

回答by Lazy Badger

For remote access you have to enable any of supported network protocol - http:// over Apache or svn:// with svnserve

对于远程访问,您必须启用任何支持的网络协议 - http:// over Apache 或 svn:// with svnserve