首页 Soft PlugIn RAN乱 Dev开发 Info资料 English WAP 留言 登陆 注册
-
Posted by Yippee | 评论(0) | 引用(0) | 阅读2402次
TortoiseSVN 帮助 仓库 网址

Repository URLs 仓库网址 www.shengfang.org

Subversion repositories can be accessed through many different methods—on local disk, or through various network protocols. A repository location, however, is always a URL. Table 2-1 describes how different URL schemas map to the available access methods.
Subversion仓库提供了多种访问方式,本地,通过不同的网络协议,一个仓库位置,都是一个网址,说明了如何区分不同的网址对应有效的访问方法 www.shengfang.org

Table 2.1. Repository Access URLs 仓库存取网址 www.shengfang.org

Schema Access Method  对应存取方法 www.shengfang.org
file:/// direct repository access (on local disk)  直接仓库访问 本地
http:// access via WebDAV protocol to Subversion-aware Apache server  存取一个通过WebDAV协议 APACHE服务器上的Subversion扩展
https:// same as http://, but with SSL encryption.  类似HTTP,但是增加了SSL加密
svn:// access via custom protocol to an svnserve server 通过Subversion服务器私有的协议
svn+ssh:// same as svn://, but through an SSH tunnel. 类似SVN,但是通过SSH通道加密

For the most part, Subversion's URLs use the standard syntax, allowing for server names and port numbers to be specified as part of the URL. Remember that the file: access method is valid only for local repositories—in fact, in accordance with convention, the server name portion of the URL is required to be either absent or localhost:
为了更加通用,Subversion的网址使用标准语法,允许服务器名称和端口号指定网址的部分。记住文件存取方法只对本地仓库有效,实际上,依照惯例,网址的服务器名称部分无论是否本地都需要的

$ svn checkout file:///path/to/repos www.shengfang.org

$ svn checkout file://localhost/path/to/repos

Also, users of the file: scheme on Windows platforms will need to use an unofficially “standard” syntax for accessing repositories that are on the same machine, but on a different drive than the client's current working drive. Either of the two following URL path syntaxes will work where X is the drive on which the repository resides:
还有,文件用户:工作于WINDOWS平台的,将需要使用非标准的 STANDARD 语法来访问在同一台机器的仓库,不是和当前客户端工作所在同一个分区,你可以使用如下两种URL路径语法。X表示仓库所在的分区

C:> svn checkout file:///X:/path/to/repos www.shengfang.org

C:> svn checkout "file:///X&line;/path/to/repos"

In the second syntax, you need to quote the URL so that the vertical bar character is not interpreted as a pipe. www.shengfang.org
在第二种语法,你需要引用URL以便分割字符&line; 不被解释为管道

Note that a URL uses ordinary slashes even though the native (non-URL) form of a path on Windows uses backslashes.
注意,URL使用普通的斜杆字符/,即使是本地访问并非URL形式,而不是WINDOWS通常使用的反斜杠\

You can safely access an FSFS repository via a network share, but you cannot access a BDB repository in this way
你可以安全的访问一个FSFS仓库,通过网络共享,但是你不能这样访问一个BDB仓库

Warning  www.shengfang.org
Do not create or access a Berkeley DB repository on a network share. It cannot exist on a remote filesystem. Not even if you have the network drive mapped to a drive letter. If you attempt to use Berkeley DB on a network share, the results are unpredictable - you may see mysterious errors right away, or it may be months before you discover that your repository database is subtly corrupted.
 警告 不用创建或者访问一个BERKELEY DB仓库在网络共享上,它不能存在于一个远端文件系统,即使你通过网络映射为本机一个盘符。如果你试图使用一个Berkeley DB在网络共享上,结果是不可预测的,你可能立刻看到神秘的错误,或者在你发现前几个月,你的仓库数据库就已经出错了

发现很久没有作英文翻译了,主要是突然要开始LINUX,整天弄得头晕晕的。虽然我也是从DOS TC走过来,对于字符界面也不可怕,但是我实在很害怕那些词不达意的错误提示,以及那些言简意赅的命令说明~~~~


字体:

Permanant URI永久地址 http://www.shengfang.org/blog/p/tsvnhlpurlrepos.php
Trackback URI引用地址 http://www.shengfang.org/blog/tb.php?tb_id=1126964939

2005年9月17日21:48星期六  [English] 追踪此文的RSS
提示:
此文还没有评论。

称呼:    登陆   注册
   不注册,但记住我的信息
邮件:
(非必须)
评论: [UBB代码帮助]
粗体 斜体 下划线 链接 水平线 引用



验证码: 请输入你看见的数字
关闭UBB      提交时自动将内容复制到剪贴板

公告
Fire and Motion!

统计信息
[Yippee]||[统计]||日志:1790
在线: 10||用户: 2562 [列表]
今日:338||到访:2669837
Rss:837914||评论:1584

最新日志

最新评论

友情链接

日历

最新引用

搜索

归档

杂项
Get RSS Feed (Version 2.0)
Get Atom Feed (Version 0.3)
编码:  UTF-8