Windows下Subversion和TortoiseSVN构建SVN版本控制.doc
文本预览下载声明
Windows下Subversion和TortoiseSVN构建SVN版本控制 ? 2009-06-05 来源:网络 ? 1.下载Subversion的window安装版本svn-1.4.6-setup.exe
/
/servlets/ProjectDocumentList?folderID=8100
2.下载TortoiseSVN的TortoiseSVN-3595-win32-svn-1.5.1.msi版本
/
/downloads
3.安装subversion
双击svn-1.4.6-setup.exe,一路next完成安装。
设置环境变量,将subversion对bin设置到path中。如:D:Program FilesSubversionbin
4.安装TortoiseSVN
双击TortoiseSVN-3595-win32-svn-1.5.1.msi,一路next完成安装。
5.创建svn容器Repository
在硬盘上任意位置创建一文件夹,如D:svnRepository,在文件夹上右键
TortoiseSVN-Create repository here
创建成功后将在D:svnRepository下生成一系列文件。
6.配置容器的访问权限
在容器的目录下D:svnRepository的conf中,用记事本打开svnserve.conf文件,找到
# anon-access = read
# auth-access = write
# password-db = passwd
并去掉注释#
注意,去掉注释后,不要留下空格,保持每行顶格,切记!!!
效果如下:
### This file controls the configuration of the svnserve daemon, if you
### use it to allow access to this repository. (If you only allow
### access through http: and/or file: URLs, then this file is
### irrelevant.)
### Visit / for more information.
[general]
### These options control access to the repository for unauthenticated
### and authenticated users. Valid values are write, read,
### and none. The sample settings below are the defaults.
anon-access = read
auth-access = write
### The password-db option controls the location of the password
### database file. Unless you specify a path starting with a /,
### the files location is relative to the directory containing
### this configuration file.
### If SASL is enabled (see below), this file will NOT be used.
### Uncomment the line below to use the default password file.
password-db = passwd
### The authz-db option controls the location of the authorization
### rules for path-based access control. Unless you specify a path
### starting with a /, the files location is relative to the the
### directory containing this file. If you dont specify an
### authz-db, no path-based access control is done.
### Uncomment the line below to use the default authorization file.
# authz-db = authz
### This option specifies the authenticatio
显示全部