Subversion版本控制工具Subversion版本控制工具.doc
文本预览下载声明
Subversion SVN版本控制工具
准备工作:
·Setup-Subversion-1.6.5(服务端软件
·TortoiseSVN-7493-win32-svn-1.6.6(客户端
·subeclipse-site-1.6.5.zip(eclipse插件
在开始学习之前你必须要准备好这几个软件;
首先安装SVN的服务端Setup-Subversion-1.6.5,版本不一定要一样,只要是### This file is an example authorization file for svnserve.
### Its format is identical to that of mod_authz_svn authorization
### files.
### As shown below each section defines authorizations for the path and
### (optional) repository specified by the section name.
### The authorizations follow. An authorization line can refer to:
### - a single user,
### - a group of users defined in a special [groups] section,
### - an alias defined in a special [aliases] section,
### - all authenticated users, using the $authenticated token,
### - only anonymous users, using the $anonymous token,
### - anyone, using the * wildcard.
###
### A match can be inverted by prefixing the rule with ~. Rules can
### grant read (r) access, read-write (rw) access, or no access
### ().
(上面的部分就是注释,下面是简单的翻译
此文件是 svnserve 示例授权文件。
其格式是相同的 mod_authz_svn 授权文件。
每个部分,如下所示定义授权的路径和(可选) 的存储库中指定的节的名称。
按照授权。授权线可以参考:
# # #-单个用户,
# # #-在特殊 [组] 部分中,定义的用户组
# # #-在特殊 [别名] 部分中,定义一个别名
# # #-所有经过身份验证的用户,使用 $authenticated 标记,
# # #-只有匿名用户,使用 $anonymous 标记,
# # #-任何人使用 * 通配符。
###
规则可以授予读取 ( r) 访问权限、 读写 (rw) 的访问或没有访问权限().
[aliases]
# joe = /C=XZ/ST=Dessert/L=Snake City/O=Snake Oil, Ltd./OU=Research Institute/CN=Joe Average
(下面的格式就是 用户组名 = 用户1,用户2 不过下面的是被注释掉的,你可以模仿写一个用户组和用户;例如下面的 admin = admin,manager 表示管理员组admin 有两个组员;
[groups]
# harry_and_sally = harry,sally
# harry_sally_and_joe = harry,sally,joe
admin = admin,manager
( 下面是分配某个目录下某些开发人员所具有的读写权限;下面的注释内容就表示,在根目录/foot/bar/这个目录下,第一个表示harry用户拥有读写权限,第二个表示joe用户拥有只读权限, 第三个表示所有人都没有权限访问此目录;你可以模仿此三种设置为用户添加权限;
# [/foo/bar]
# harry = rw
# joe = r
# * =
(下面的这种表示配置在某个版本库中某个目录下的权限控制,
# [repository:/baz/fuz]
# @harry_and_sally = rw
# * = r passwd文件说明
### This file is an example password file for svnserve.
### Its format is similar to that of svnserve.conf. As shown in the
#
显示全部