[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

cvs2svn.py: could not import CVS repository, next problem

From: Lev Serebryakov <lev_at_serebryakov.spb.ru>
Date: 2003-08-14 19:07:18 CEST

Hello users,

 Ok, cvs2svn could create dump file from `patched' repository. But
 this dump is not valid :(

When STABLE_0_48 branch was created, no files was deleted (!), but dump
file contains such records:
======================================
Revision-number: 44
Prop-content-length: 115
Content-length: 115

K 7
svn:log
V 17
Fix -c parameter

K 10
svn:author
V 3
lev
K 8
svn:date
V 27
2000-09-25T11:14:15.000000Z
PROPS-END

Node-path: branches/STABLE_0_48
Node-action: add
Node-copyfrom-rev: 39
Node-copyfrom-path: /trunk

Node-path: branches/STABLE_0_48/FAQ
Node-action: delete

Node-path: branches/STABLE_0_48/src/emsi.c
Node-action: delete
...[more delete command skipped]...
======================================

And after that, some revisions ago, it contains (no `add' for this
file between these two!):

======================================
Revision-number: 165
Prop-content-length: 142
Content-length: 142

K 7
svn:log
V 44
Add some questions to FAQ, actualize README

K 10
svn:author
V 3
lev
K 8
svn:date
V 27
2000-11-13T21:28:09.000000Z
PROPS-END

Node-path: branches/STABLE_0_48/FAQ
Node-kind: file
Node-action: change
Prop-content-length: 10
Text-content-length: 1044
Text-content-md5: dc0dcb14110b0d83d01509e26ad92bc2
Content-length: 1054

PROPS-END
...[content skipped]...
======================================

And `svnadmin load' could not load such dump:

When I delete command for deletion FAQ from STABLE_0_48 branch
(Revision-number ) by hands from dump, here is next error: in one tag
file deleted twice:

======================================
Revision-number: 494
...[skipped]...
Node-path: tags/r0_48_5/src/ftn.c
Node-action: delete
...[skipped]...
Node-path: tags/r0_48_5/src/ftn.c
Node-action: delete
...[skipped]...
Revision-number: 495
======================================

And again, tag r0_48_t __contains__ `src/ftn.c' file!

It seems, that cvs2svn fails to properly converts branched repository
:(

-- 
Best regards,
 Lev                          mailto:lev@serebryakov.spb.ru
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Aug 14 19:08:33 2003

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.