问题描述
请提供从 pvcs 迁移到 svn 的步骤.我在谷歌上搜索了开源工具并找到了 polarion pvcs2svn 工具.如果有人使用过此软件,请提供所遵循的步骤和使用的 config.properties 文件.我发现很难使用这个软件.甚至我也没有从这个产品的论坛得到任何帮助.
please provide steps to migrate from pvcs to svn. I have googled for the open source tools and found polarion pvcs2svn tool. if someone has used this software, please provide the steps followed and the config.properties file used. I am finding it difficult to use this software. Even I am not receiving any help from the forum of this product.
推荐答案
这个工具使用起来非常简单.基于 1.3 版,我发布了对当前 config.properties 文件所做的一些更改:
This tool is quite simple to use. Based on version 1.3 i'm posting some of changes i did on our current config.properties file:
# Import dump settings
import_dump_into_svn=yes
clear_svn_parent_dir=yes
use_only_last_revision_content=no
file_description_property_key=description
use_file_copy=yes
# FILE SETTINGS
full.dump.file=full_dump_%date%.txt
incr.dump.file=incr_dump_%date%.txt
incr.history.file=incr_history.txt
list.files.to=files_%date%.txt
dump.file.sizelimit.mb=400
# SVN DUMP OPTIONS
trunk_path=trunk
branches_path=branches
tags_path=tags
svnimporter_user_name=svn_user
only_trunk=no
# SVN AUTOIMPORT OPTIONS
svnadmin.executable=svnadmin.exe
svnadmin.repository_path=E:/Repositories/OUR_REPO
svnadmin.parent_dir=.
svnadmin.tempdir=e:/temp/svn/local
svnclient.executable=svn.exe
svnadmin.verbose_exec=yes
svn.log.dateformat=dd MMM yyyy HH:mm:ss
svnadmin.path_not_exist_signature=non-existent in that revision
# PVCS PROVIDER CONFIGURATION #
pvcs.class=org.polarion.svnimporter.pvcsprovider.PvcsProvider
pvcs.executable=pcli.exe
pvcs.projectpath=D:/PVCS/OUR_REPO
pvcs.subproject=
pvcs.tempdir=e:/temp/local_migration
pvcs.checkouttempdir=e:/temp/pvcs_migration
pvcs.log.dateformat=dd MMM yyyy HH:mm:ss
pvcs.log.datelocale=en
pvcs.log.encoding=utf-8
pvcs.log.datetimezone=Europe/Berlin
pvcs.verbose_exec=yes
pvcs.username=ouruser
pvcs.password=ourpass
# pvcs.keep_vlogfile=yes
# pvcs.import_attributes=yes
pvcs.validate_checkouts=yes
设置这些详细信息后,您必须更改 pvcs.log.dateformat 、pvcs.log.encoding 和 pvcs.log.datetimezone> 基于服务器时区.
After setting those details, you have to change the pvcs.log.dateformat , pvcs.log.encoding and pvcs.log.datetimezone based on the server timezone.
然后,您必须运行以下命令之一才能开始迁移.
And then, you must run one of the following commands in order to start the migration.
Linuxrun.sh 完整的 config.properties
Linux run.sh full config.properties
窗户run.bat 完整的 config.properties
Windows run.bat full config.properties
我希望它有帮助(对不起我的英语:))
I hope it helps ( and sorry for my english :) )
这篇关于将 pvcs 迁移到 svn 的步骤的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!