阅读本文你必须具有 Source Safe 和 Subversion、Apache 基础。
一下操作在 MS-DOS 下完成
rem 第一步 确保 ss.exe (Source Safe)在 path 下。
set path=%path%;C:/Program Files/VSS/win32
rem 第二步 确保 svn.exe 在 path 下
set path=%path%;C:/Program Files/Subversion/bin
rem 第三步 确保 APR_ICONV_PATH
set APR_ICONV_PATH=C:/Program Files/Subversion/iconv
rem 第四步 指定 Source Safe Database
set SSDIR=//192.168.11.86/vss
rem set SSDIR=G:/tmp/vss
rem 第五步 执行转换
vss2svn-0.3.3.exe -vssproject $/myproject -svnrepo
http://svn.redv.com/repos/myproject
rem 然后根据提示做一些操作。
当出现如下提示时:
ATTENTION REQUIRED:
Following is a list of all VSS users who have made updates at any time in the
specified project. In order to preserve the user history during migration to
Subversion, these users must exist in the Subversion authentication file.
Following is a list of all VSS users who have made updates at any time in the
specified project. In order to preserve the user history during migration to
Subversion, these users must exist in the Subversion authentication file.
Usually, this is done with an Apache "Basic" HTTP authorization file, where
each username is followed by a colon and the hashed password for that user.
A blank password is permissible. Copy and paste the following lines into this
authorization file in order to allow this user history to be migrated.
each username is followed by a colon and the hashed password for that user.
A blank password is permissible. Copy and paste the following lines into this
authorization file in order to allow this user history to be migrated.
tom:
vss_migration:
vss_migration:
PRESS ENTER TO CONTINUE (or enter [q] to quit and start over)...
在 apache 的认证文件中加入用户 tom 和 vss_migration,方法如下:
命令行: htpasswd svn-auth-file tom