CVS to SVN: Problems migrating branches

ajb
Posts: 2
Joined: Mon Nov 17, 2014 1:07 pm

CVS to SVN: Problems migrating branches

Postby ajb » Tue Nov 18, 2014 6:41 am

I'm currently trying to migrate a CVS Repository with around 60 modules. 50 out of 60 pass without any problems, but the others give me some issues because of the existing branches. Even though the errors are slightly different, they always follow more or less the same pattern (file is deleted from trunk and afterwards the importer tries to copy it to a branch):

Code: Select all

11:35:12,112 [stdout]  INFO Exec:84 - <<< Started new transaction, based on original revision 34
11:35:12,129 [stdout]  INFO Exec:84 -      * deleting path : CISSFrameWork/trunk/Sources/U_CISS_ReferenceExchanger.pas ... done.
11:35:12,153 [stdout]  INFO Exec:84 -
11:35:12,153 [stdout]  INFO Exec:84 - ------- Committed new rev 23712 (loaded from original rev 34) >>>
11:35:12,153 [stdout]  INFO Exec:84 -
11:35:12,165 [stdout]  INFO Exec:84 - <<< Started new transaction, based on original revision 35
11:35:12,177 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/branches/REL_3_Beta ... done.
11:35:12,177 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/branches/REL_3_Beta/Sources ... done.
11:35:12,178 [stderr]  INFO Exec:84 - svnadmin: File not found: revision 23712, path '/CISSFrameWork/trunk/Sources/U_CISS_ReferenceExchanger.pas'
11:35:12,179 [Thread-12] ERROR SvnAdminImportExec:100 - can't copy dump file to svnadmin stdin:
java.io.IOException: Broken pipe
   at java.io.FileOutputStream.writeBytes(Native Method)
   at java.io.FileOutputStream.write(Unknown Source)
   at java.io.BufferedOutputStream.flushBuffer(Unknown Source)
   at java.io.BufferedOutputStream.write(Unknown Source)
   at org.polarion.svnimporter.common.Util.copy(Util.java:303)
   at org.polarion.svnimporter.svnprovider.internal.svnadmin.SvnAdminImportExec$1.run(SvnAdminImportExec.java:58)
11:35:12,180 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/branches/REL_3_Beta/Sources/U_CISS_ReferenceExchanger.pas ...
11:35:12,180 [main] DEBUG Exec:80 - Process exit value: 1
11:35:12,181 [main] ERROR Main:96 - EXCEPTION CAUGHT: org.polarion.svnimporter.svnprovider.SvnAdminException: Error during execution command svnadmin load --parent-dir CISSFrameWork /home/svn/repos/ciss/delphi: process exit code 1
   at org.polarion.svnimporter.svnprovider.SvnAdmin.executeCommand(SvnAdmin.java:339)
   at org.polarion.svnimporter.svnprovider.SvnAdmin.importDump(SvnAdmin.java:85)
   at org.polarion.svnimporter.main.Main.importDump(Main.java:183)
   at org.polarion.svnimporter.main.Main.run(Main.java:100)
   at org.polarion.svnimporter.main.Main.main(Main.java:51)

11:35:12,181 [main] DEBUG CvsProvider:80 - cleanup
11:35:12,188 [main] DEBUG SvnAdmin:80 - cleanup
11:35:12,189 [main]  INFO historyLogger:84 - duration: 140 seconds


Anybody has an idea how to solve this problem? My config is attached.
Attachments
base_config.properties.txt
(22.37 KiB) Downloaded 85 times

Return to “Polarion SVN Importer (Repository Converter)”

Who is online

Users browsing this forum: Google [Bot] and 2 guests