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 » Mon Nov 17, 2014 1:18 pm

Hi,

I'm currently trying to migrate a CVS Repository, with around 60 modules to SVN. 50 out of 60 run without problems, but for the others I've some issues with the branches. If I interpret the log file correctly, the point is that the importer tries to copy a file from the trunk to a branch, which was already deleted. The log files look always more or less like this:

Code: Select all

12:32:30,921 [stdout]  INFO Exec:84 - <<< Started new transaction, based on original revision 33
12:32:30,932 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-6-1 ... done.
12:32:30,933 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-6-1/Sources ... done.
12:32:30,934 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-6-1/Sources/U_CISS_ReferenceExchanger.pas ...COPIED... done.
12:32:30,934 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-4-0 ... done.
12:32:30,934 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-4-0/Sources ... done.
12:32:30,935 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-4-0/Sources/U_CISS_ReferenceExchanger.pas ...COPIED... done.
12:32:30,935 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-3-0 ... done.
12:32:30,935 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-3-0/Sources ... done.
12:32:30,936 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-3-0/Sources/U_CISS_ReferenceExchanger.pas ...COPIED... done.
12:32:30,936 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-5-0 ... done.
12:32:30,937 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-5-0/Sources ... done.
12:32:30,937 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-5-0/Sources/U_CISS_ReferenceExchanger.pas ...COPIED... done.
12:32:30,937 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-2-1 ... done.
12:32:30,938 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-2-1/Sources ... done.
12:32:30,938 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-2-1/Sources/U_CISS_ReferenceExchanger.pas ...COPIED... done.
12:32:30,938 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-6-0 ... done.
12:32:30,939 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-6-0/Sources ... done.
12:32:30,939 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-6-0/Sources/U_CISS_ReferenceExchanger.pas ...COPIED... done.
12:32:30,940 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-2-0 ... done.
12:32:30,940 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-2-0/Sources ... done.
12:32:30,940 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/tags/REL_1-2-0/Sources/U_CISS_ReferenceExchanger.pas ...COPIED... done.
12:32:30,965 [stdout]  INFO Exec:84 -
12:32:30,965 [stdout]  INFO Exec:84 - ------- Committed new rev 24025 (loaded from original rev 33) >>>
12:32:30,965 [stdout]  INFO Exec:84 -
12:32:30,975 [stdout]  INFO Exec:84 - <<< Started new transaction, based on original revision 34
12:32:30,992 [stdout]  INFO Exec:84 -      * deleting path : CISSFrameWork/trunk/Sources/U_CISS_ReferenceExchanger.pas ... done.
12:32:31,016 [stdout]  INFO Exec:84 -
12:32:31,016 [stdout]  INFO Exec:84 - ------- Committed new rev 24026 (loaded from original rev 34) >>>
12:32:31,016 [stdout]  INFO Exec:84 -
12:32:31,027 [stdout]  INFO Exec:84 - <<< Started new transaction, based on original revision 35
12:32:31,039 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/branches/REL_3_Beta ... done.
12:32:31,040 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/branches/REL_3_Beta/Sources ... done.
12:32:31,040 [stderr]  INFO Exec:84 - svnadmin: File not found: revision 24026, path '/CISSFrameWork/trunk/Sources/U_CISS_ReferenceExchanger.pas'
12:32:31,042 [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)
12:32:31,047 [stdout]  INFO Exec:84 -      * adding path : CISSFrameWork/branches/REL_3_Beta/Sources/U_CISS_ReferenceExchanger.pas ...
12:32:31,047 [main] DEBUG Exec:80 - Process exit value: 1
12:32:31,048 [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)

12:32:31,048 [main] DEBUG CvsProvider:80 - cleanup
12:32:31,059 [main] DEBUG SvnAdmin:80 - cleanup
12:32:31,060 [main]  INFO historyLogger:84 - duration: 141 seconds


Can anybody help? I don't see how to solve this problem (ok I could simply not migrate the branches and tags, but that's not the best solution). The config file is attached.
Attachments
base_config.properties.txt
Configuration
(22.37 KiB) Downloaded 90 times

Return to “Polarion SVN Importer (Repository Converter)”

Who is online

Users browsing this forum: No registered users and 2 guests