When trying to convert a PVCS repository to SVN I get the following errors:
Code: Select all
09:51:25,753 [main] INFO MainConfig:84 - ****************************************************************************
09:51:25,753 [main] INFO MainConfig:84 - *** Global options ***
09:51:25,753 [main] INFO MainConfig:84 - Mode = list files
09:51:25,753 [main] INFO MainConfig:84 - Import dump into svn = "false"
09:51:25,753 [main] INFO MainConfig:84 - Import dump only if svn repository exist = "false"
09:51:25,753 [main] INFO MainConfig:84 - Full dump path = "full_dump_%date%.txt"
09:51:25,753 [main] INFO MainConfig:84 - Incremental dump path = "incr_dump_%date%.txt"
09:51:25,753 [main] INFO MainConfig:84 - Incremental history path = "incr_history.txt"
09:51:25,753 [main] INFO MainConfig:84 - Save files list to = "files_20070704_095125.txt"
09:51:25,753 [main] INFO MainConfig:84 - Source provider's class = "org.polarion.svnimporter.pvcsprovider.PvcsProvider"
09:51:25,753 [main] INFO MainConfig:84 - Size limit for dump files (in MB): none
09:51:25,769 [main] INFO PvcsConfig:84 - *** PVCS provider configuration ***
09:51:25,769 [main] INFO PvcsConfig:84 - executable = "pcli.exe"
09:51:25,769 [main] INFO PvcsConfig:84 - projectPath = "c:\PVCS"
09:51:25,769 [main] INFO PvcsConfig:84 - subproject = "null"
09:51:25,769 [main] INFO PvcsConfig:84 - temp dir = "c:\temp\svnimport\pvcs.tempdir"
09:51:25,769 [main] INFO PvcsConfig:84 - log date format = "MMM dd yyyy HH:mm:ss"
09:51:25,769 [main] INFO PvcsConfig:84 - log date locale = "en"
09:51:25,769 [main] INFO PvcsConfig:84 - log date time zone = "null"
09:51:25,769 [main] INFO PvcsConfig:84 - log encoding = "Cp1251"
09:51:25,769 [main] INFO PvcsConfig:84 - verbose exec = "true"
09:51:25,769 [main] INFO PvcsConfig:84 - user name = "null"
09:51:25,769 [main] INFO PvcsConfig:84 - password = "null"
09:51:25,769 [main] INFO PvcsConfig:84 - import archive attributes = "false"
09:51:25,769 [main] INFO PvcsConfig:84 - keep vlog file = "false"
09:51:25,785 [main] INFO PvcsConfig:84 - validate checkouts = "true"
09:51:25,785 [main] INFO ProviderConfig:84 - svnimporter_user_name = "SvnImporter"
09:51:25,785 [main] INFO ProviderConfig:84 - only_trunk = "false"
09:51:25,785 [main] INFO ProviderConfig:84 - trunk_path = "trunk"
09:51:25,785 [main] INFO ProviderConfig:84 - branches_path = "branches"
09:51:25,785 [main] INFO ProviderConfig:84 - tags_path = "tags"
09:51:25,785 [main] INFO ProviderConfig:84 - use_only_last_revision_content = "false"
09:51:25,785 [main] INFO ProviderConfig:84 - file_description_property_key = "description"
09:51:25,785 [main] INFO ProviderConfig:84 - use_file_copy = "false"
09:51:25,785 [main] INFO MainConfig:84 - ****************************************************************************
09:51:25,785 [main] INFO historyLogger:84 - **********************************************************************
09:51:25,785 [main] INFO historyLogger:84 - date: 4/07/2007 09:51:25
09:51:25,785 [main] INFO historyLogger:84 - mode: list files
09:51:25,785 [main] INFO historyLogger:84 - src provider: class org.polarion.svnimporter.pvcsprovider.PvcsProvider
09:51:25,785 [main] INFO Main:84 - List files to files_20070704_095125.txt
09:51:25,800 [main] INFO Exec:84 - exec pcli.exe run ->c:/temp/svnimport/pvcs.tempdir/files.tmp -q listversionedfiles -prc:/PVCS -l -z /
09:51:26,394 [stderr] INFO Exec:84 - Serena ChangeMan Version Manager (PCLI) v8.1.2 (Build 110) for Windows NT/80x86
09:51:26,394 [stderr] INFO Exec:84 - Copyright 1985-2006 Serena Software. All rights reserved.
09:51:29,222 [main] DEBUG Exec:80 - Process exit value: 0
09:51:29,222 [main] INFO Exec:84 - exec pcli.exe run ->c:/temp/svnimport/pvcs.tempdir/vlog.tmp -q vlog -prc:/PVCS -z /
09:51:29,785 [stderr] INFO Exec:84 - Serena ChangeMan Version Manager (PCLI) v8.1.2 (Build 110) for Windows NT/80x86
09:51:29,785 [stderr] INFO Exec:84 - Copyright 1985-2006 Serena Software. All rights reserved.
09:52:40,207 [main] DEBUG Exec:80 - Process exit value: -13
09:52:40,269 [main] ERROR VlogParser:96 - Vlog workfile does not correspond to the files entry. Skipping the files entry /AIMOS Core Code/_temp removed/agency_contact_history.fmx
Search vlog for error messages!
09:52:40,269 [main] ERROR VlogParser:96 - Vlog workfile does not correspond to the files entry. Skipping the files entry /AIMOS Core Code/_temp removed/agency_search.fmx
Search vlog for error messages!
09:52:40,269 [main] ERROR VlogParser:96 - Vlog workfile does not correspond to the files entry. Skipping the files entry /AIMOS Core Code/_temp removed/aimos_common.plx
<snip>
09:52:41,285 [main] ERROR VlogParser:96 - Vlog workfile does not correspond to the files entry. Skipping the files entry /AIMOS Project Code/special (app server)/quarterly_aging_report_summary_base.xlt
Search vlog for error messages!
09:52:41,535 [main] ERROR VlogParser:96 - Vlog workfile does not correspond to the files entry. Skipping the files entry /AIMOS Project Code/temp/pkg_match_case.pkb
Search vlog for error messages!
09:52:42,128 [main] INFO PvcsProvider:84 - PVCS model has been created.
09:52:42,128 [main] INFO Model:84 - Summary:
09:52:42,128 [main] INFO Model:84 - Files: 781
09:52:42,128 [main] INFO Model:84 - Revisions: 5583
09:52:42,128 [main] INFO Model:84 - Commits: 4902
09:52:42,160 [main] INFO historyLogger:84 - successfully finished
09:52:42,160 [main] DEBUG PvcsProvider:80 - cleanup
09:52:42,160 [main] INFO historyLogger:84 - duration: 76 seconds
config
Code: Select all
# The source repository provider,
# either cvs,cvsrcs,pvcs,mks,cc,vss or st
srcprovider=pvcs
###########################################################################
# Import dump settings
#
# import_dump_into_svn - If enabled then after dump creation,
# it will be imported into svn repository via svnadmin
# (you must write proper svn autoimport options)
# If svn repository is not exist it will be created.
#
# existing-svnrepos - if enables and if import enabled by previous
# option then dump will be imported into svn repository ONLY IF REPOSITORY EXISTS
#
# clear_svn_parent_dir - if enabled and import enabled then application will delete all
# existing records in svn's parent directory before import dump to it.
# (affect for full dump only)
#
import_dump_into_svn=no
#existing_svnrepos=yes
clear_svn_parent_dir=yes
# Option enables that feature:
# "Now the importer always import whole history(with possibilities like trunk-only etc.).
# It should be possible to import only current state as one revision. It is useful for
# the incremental import. In current situation we will never be able to import whole because
# of the size of the dump file."
# But see the new parameter "dump.file.sizelimit.mb" below.
#
# AFFECT FOR FULL DUMP CREATION ONLY!
use_only_last_revision_content=no
# VM systems often allow to set a description on a versioned file (one for all revisions).
# svnimporter is able to migrate it to a svn property. Since there is no predefined
# property key for this purpose in subversion, you can configure it here. If you do
# not give a property key name, the file description will not be migrated.
# NOTE: migration of properties is presently implemented only for PVCS
#
file_description_property_key=description
# If use_file_copy is set to yes, svnimporter uses SVN file copy operations for tags and
# branches. This raises the quality of the import dramatically. On the other hand,
# it works reliably for one-shot imports only. DO NOT SET THIS TO YES if you
# want to make incremental imports to synchronize repositories; otherwise the resulting
# dump files may not be importable to SVN.
#
# If set to no, every branch and tag operation is implemented as a simple file add operation.
# The origin of the tag or branch from the trunk is not recorded.
#
# Presently, this flag is evaluated only by the import from PVCS, CVS, MKS, ClearCase.
#
use_file_copy=no
#####################################################################################
# FILE SETTINGS
#
# full.dump.file - file name pattern for saving full dump
# incr.dump.file - file name pattern for saving incremental dump
# incr.history.file - file for saving history for incremental dump
# list.files.to - destination file for saving scm's files list
# dump.file.sizelimit.mb - rough maximum dump file size in MegaBytes. See below.
#####################################################################################
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
# svnimporter checks the size of the current dump file before dump of each revision. If
# the size (in Megabytes) exceeds this limit, a new dump file is created. For large
# source repositories and/or small size limits, a run of svnimporter will generate a
# sequence of dump files. Their actual sizes will be slightly larger than the limit
# specified here.
#
# Take care not to set the limit too small. The dump file names are distinguished
# by their date part only which has a resolution of one second. Producing one dump file
# should therefore take longer than one second.
#
# Set the value to 0 to switch off this feature.
dump.file.sizelimit.mb=0
#######################################################################################
# SVN DUMP OPTIONS
#
# trunk_path - location of "trunk" folder. Can be "." if "only_trunk" option is enabled
# branches_path - location of "branches" folder
# tags_path - location of "tags" path
# svnimporter_user_name - name of service user, which create first revision etc.
# only_trunk - if enabled then convert only trunk of repository (skip tags and branches)
#######################################################################################
trunk_path=trunk
branches_path=branches
tags_path=tags
svnimporter_user_name=SvnImporter
only_trunk=no
#######################################################################################
# SVN AUTOIMPORT OPTIONS
#
# svnadmin.executable - path to svnadmin executable
# svnadmin.repository_path - path to svn repository
# svnadmin.parent_dir - parent dir in svn repository for importing dump (must be created manually)
# svnadmin.tempdir - temp directory for svnadmin
# svnclient.executable - path to svn executable
# svnadmin.import_timeout - The value is length of time to wait in milliseconds,
# if this parameter is set and "svnadmin load" did not finished after specified length of time
# then it's process will be killed and svnimporter execution will be aborted.
# svnadmin.path_not_exist_signature - when importer checks repository path for existing
# it compares output of "svn ls" command with given string. If given string not found
# in command output and command return code is not null then importer cannot determine
# path exist or not, then exception will be thrown.
# If you runs importer not in English locale and log file contains similar as following error:
# EXCEPTION CAUGHT: org.polarion.svnimporter.svnprovider.SvnAdminException:
error during execution 'svn ls' command: svn: URL 'file:///c:/tmp/ImportFromCvs/zzzzz' existiert nicht in dieser Revision
# then you should change signature to "existiert nicht in dieser Revision"
#######################################################################################
svnadmin.executable=svnadmin.exe
svnadmin.repository_path=c:/SVN
svnadmin.parent_dir=.
svnadmin.tempdir=c:/temp/local
svnclient.executable=svn.exe
svnadmin.verbose_exec=yes
#svnadmin.import_timeout=1800000
svnadmin.path_not_exist_signature=non-existent in that revision
#svnadmin.path_not_exist_signature=existiert nicht in dieser Revision
#################################################################################
########################## PVCS PROVIDER CONFIGURATION ##########################
#################################################################################
pvcs.class=org.polarion.svnimporter.pvcsprovider.PvcsProvider
pvcs.executable=pcli.exe
pvcs.projectpath=c:\\PVCS
pvcs.subproject=
pvcs.tempdir=c:\\temp\\svnimport
pvcs.log.dateformat=MMM dd yyyy HH:mm:ss
pvcs.log.datelocale=en
pvcs.log.encoding=Cp1251
#pvcs.log.datetimezone=Europe/Berlin
pvcs.verbose_exec=yes
#pvcs.username=
#pvcs.password=
# If you set keep_vlogfile to "yes", and there already exist vlog.tmp and files.tmp
# files in the tempdir from a previous run of svnimporter, these files will not
# be regenerated. This is useful in some special situations, for example when you
# want to make sure you import the same state of the PVCS archive as before.
#
# pvcs.keep_vlogfile=yes
# If import_attributes=yes, svnimporter will try to map the PVCS archive attributes
# to SVN properties. However, it is usually better to use the auto-props feature of Subversion
# to set properties during the import.
#
# pvcs.import_attributes=yes
# The bug was occasionally observed during import of big projects
# (many files/revisions) and heavy PVCS load (probably).
# This bug is actually caused by invalid behaviour of pcli.exe get command,
# which sometimes returns invalid file content (wich less than 0.1% probability)
# if pvcs.validate_checkouts set to "yes" then importer will detect this bug
# and try to fix it.
# It may slow down import process because each checkout will be performed twice (at least)
pvcs.validate_checkouts=yes
#################################################################################
########################## LOG4J CONFIGURATION ##################################
#################################################################################
log4j.rootLogger=DEBUG, file
#log4j.logger.cz=DEBUG, file
#log4j.logger.cz=DEBUG, stdout
log4j.logger.historyLogger=DEBUG, historyFile
log4j.appender.file=org.apache.log4j.FileAppender
log4j.appender.file.File=svnimporter.log
log4j.appender.file.layout=org.apache.log4j.PatternLayout
log4j.appender.file.layout.ConversionPattern=%d{HH:mm:ss,SSS} [%t] %5p %c{1}:%L - %m%n
log4j.appender.historyFile=org.apache.log4j.FileAppender
log4j.appender.historyFile.File=history.log
log4j.appender.historyFile.layout=org.apache.log4j.PatternLayout
log4j.appender.historyFile.layout.ConversionPattern=%m%n
log4j.appender.stdout=org.apache.log4j.ConsoleAppender
log4j.appender.stdout.layout=org.apache.log4j.PatternLayout
log4j.appender.stdout.layout.ConversionPattern=%c{1}:%L %5p - %m%n
#################################################################################
############################### DEBUG OPTIONS ###################################
#################################################################################
#
# do not delete provider's temporary files
#
disable_cleanup=no