Karl,
cvs2svn generates a nice dumpfile, however, that dumpfile won't load
into a repository. I'm using cvs2svn from r6455 (i.e. missing the
last coupe of commits).
The commandline used to generate the dumpfile is:
cd ~/svn/cvs2svn/
./cvs2svn.py -v --dump-only ~/cvs/dealernet
The error is encountered when loading cvs2svn-dump into a repository
using:
mkdir ~/repos
svnadmin create ~/repos
svnadmin load ~/repos < ~/svn/cvs2svn/cvs2svn-dump
The error I see (slightly abbreviated) when doing the load is:
<<< Started new txn, based on original revision 2668
* adding path : tags/release_1_0_41_32 ...COPIED... done.
* deleting path :
tags/release_1_0_41_32/database/patches/patch_1_1_42.sql ... done.
...<snip>....
* deleting path : tags/release_1_0_41_32/etc/admin/lex ... done.
* deleting path :
tags/release_1_0_41_32/etc/admin/mail/monitor_mail.xsl ... done.
* adding path : tags/release_1_0_41_32/etc/admin/dnet.properties
...COPIED... done.
* adding path :
tags/release_1_0_41_32/documentum/patches/patch_1_0_41_18 ...svn:
Filesystem has no item
svn: file not found: transaction `224', path
`tags/release_1_0_41_32/documentum/patches/patch_1_0_41_18'
The offending lines in the dumpfile are:
Node-path: tags/release_1_0_41_32/documentum/patches/patch_1_0_41_18
Node-action: add
Node-copyfrom-rev: 2486
Node-copyfrom-path:
/branches/dealernet_1_0/documentum/patches/patch_1_0_41_18
Revision 2486 in the dumpfile contains this:
Node-path: branches/dealernet_1_0/documentum/patches/patch_1_0_41_18
Node-kind: dir
Node-action: add
Prop-content-length: 10
Content-length: 10
And if I examine the repository that was left after the load aborted,
I can see:
danpat@bjorn:~/svn/cvs2svn/repos$ svn ls -v -r 2486
file:///home/danpat/svn/cvs2svn/repos/branches/dealernet_1_0/documentum/patches/
_ 2223 eiakhont 0 Aug 27 09:46 patch_1_0_41_10/
_ 2209 eiakhont 1414 Aug 23 11:35 patch_1_0_41_10.readme
_ 2455 kscarlet 0 Oct 18 12:01 patch_1_0_41_15/
_ 2454 kscarlet 951 Oct 18 11:57 patch_1_0_41_15.readme
_ 2486 kscarlet 0 Nov 04 12:41 patch_1_0_41_18/
_ 2486 kscarlet 1269 Nov 04 12:41 patch_1_0_41_18.readme
danpat@bjorn:~/svn/cvs2svn/repos$ svn ls -v -r 2485
file:///home/danpat/svn/cvs2svn/repos/branches/dealernet_1_0/documentum/patches/
_ 2223 eiakhont 0 Aug 27 09:46 patch_1_0_41_10/
_ 2209 eiakhont 1414 Aug 23 11:35 patch_1_0_41_10.readme
_ 2455 kscarlet 0 Oct 18 12:01 patch_1_0_41_15/
_ 2454 kscarlet 951 Oct 18 11:57 patch_1_0_41_15.readme
_ 2485 kscarlet 1269 Nov 04 11:31 patch_1_0_41_17.readme
I can make the data available (under the same conditions that I did
last time), but the CVS repository is big (100M tar/bzip2'd) and takes
a while to deal with (couple of hours on this machine). I can send
you snippets of the dumpfile if you'd like.
daniel
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jul 16 04:09:14 2003