如何通过网络更新 TortoiseSVN? [英] How to update TortoiseSVN over the network?

查看:28
本文介绍了如何通过网络更新 TortoiseSVN?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想从网络上另一台计算机上的存储库导入我的项目.我安装了 TortoiseSVN.我右键单击文件夹 -> SVN Check out -> 提示我输入存储库.

I want to import my project from the repository that is on another computer on the network. I have TortoiseSVN installed. I right click the folder -> SVN Check out -> Which prompts me for repository.

我的存储库存在于我的系统中的 c:\repositary\myprojects\trunk\project1.

My repository exist on my system in c:\repositary\myprojects\trunk\project1.

如何从远程 PC 访问.在本地机器上,我使用这种语法.

How to I access from remote PC. On Local machine I use this syntax.

  • file:///c:/repositary/myprojects/trunk/project1(三个正斜杠)
  • file:///c:/repositary/myprojects/trunk/project1 (three forward slashes)

文档 说我应该使用这种语法.

The documentation says I should use this syntax.

  • file://servername/repositary/myprojects/trunk/project1(两个正斜杠 + 服务器名).
  • file://servername/repositary/myprojects/trunk/project1 (two forward slashes + servername).

但这行不通.我该怎么做才能让它发挥作用?我需要共享那个文件夹吗?我必须在服务器路径中提到 c:\ 驱动器吗?

But this does not work. What do I have to do to make it work? Do I need to share that folder? Do I have to mention c:\ drive in the server path?

想提一下,存储库在我的计算机 (Windows XP) 上,我想通过网络上另一台计算机上的虚拟机访问它.

Want to mention, the repository is on my computer (Windows XP), and I want to access it over a virtual machine on another computer on the network.

推荐答案

我使用了这样的 URL,它工作正常:

I used a URL like this, and it works fine:

file://MYPC-NAME/repositories/All_CODE/trunk/Project1

请注意,它可能不会一直有效.

Notice that it may not work all the time.

我遇到了一个令人困惑的问题.如果您的硬盘分区为 C、D 和 E 盘会怎样.那么在这种情况下,只需使用您的 PC 名称,然后是您共享的包含存储库的文件夹.

I had one confusing issue. What if your hard drive is partitioned into C, D and E Drive. Well in that case just use your PC name, followed by the folder that you have shared that contains the repositories.

这篇关于如何通过网络更新 TortoiseSVN?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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