C. Michael Pilato wrote:
> Arnout Standaert <arnout.standaert@student.kuleuven.ac.be> writes:
>
>>I have a number of CVS modules in a CVS repo on which cvs2svn seems to
>>do the job pretty well, no errors are issued (see also my earlier
>>post). However, the resulting SVN repositories are empty: files exist
>>but have no content.
>>
>>Now, I just _know_ I have read the solution for this somewhere (I
>>guess this mailing list), but I can't find back the relevant posting.
>>
>>Can anyone point me to the right information?
>
> Problems with the 'co' binary. cvs2svn doesn't catch errors that 'co'
> might throw. :-(
OK, a small update concerning this: I discovered that CVSNT also has a
"co.exe" program, which happened to be in my PATH. I removed it from the
PATH, and actually, now that I'm using RCS's co.exe (as intended),
cvs2svn just gives me an IO Error instead. To be honest, CVSNT's co.exe
got further in the conversion process than RCS's co.exe.
Anyway, I've included the log of cvs2svn, using RCS's co.exe, below. I
hope someone can give any hints based on that.
In the meantime, is there any way to determine what exactly goes wrong?
Can I capture the "rcs co" output someway?
Thanks in advance,
Arnout
---------- cvs2svn output, with RCS's co.exe ------------------------
$ cvs2svn.py -v --create -s ../svn/btnews btnews
----- pass 1 -----
btnews\.cvsignore,v
btnews\adjustnews.php,v
btnews\createnewsdb.php,v
btnews\Features.txt,v
btnews\globalvars.php,v
btnews\globalvars_citbio.php,v
btnews\help.php,v
btnews\index.htm,v
btnews\insertsamplenews.php,v
btnews\news.css,v
btnews\news.php,v
btnews\postnews.php,v
btnews\removenewstables.php,v
btnews\showold.php,v
btnews\suggestform.php,v
btnews\graphics\16additem.gif,v
btnews\graphics\16adjustitem.gif,v
btnews\graphics\16removeitem.gif,v
btnews\graphics\additem.gif,v
btnews\graphics\adjustitem.gif,v
btnews\graphics\emptyitem.gif,v
btnews\graphics\removeitem.gif,v
btnews\graphics\Attic\megaphone_blue.gif,v
btnews\graphics\Attic\megaphone_bluet.gif,v
btnews\graphics\Attic\megaphone_cyan.gif,v
btnews\graphics\Attic\megaphone_green.gif,v
btnews\graphics\Attic\megaphone_orange.gif,v
btnews\graphics\Attic\megaphone_purple.gif,v
btnews\graphics\Attic\megaphone_red.bmp,v
btnews\graphics\Attic\megaphone_red.gif,v
btnews\graphics\Attic\megaphone_redt.gif,v
btnews\graphics\Attic\megaphone_small.gif,v
btnews\graphics\Attic\megaphone_yellow.gif,v
btnews\graphics\Attic\pen.gif,v
btnews\graphics\Attic\pencopy.gif,v
processed 35 files
----- pass 2 -----
----- pass 3 -----
----- pass 4 -----
creating repos '../svn/btnews'
committing: Tue Jul 29 18:58:24 2003, over 0 seconds
adding or changing 1.1 : 'trunk/globalvars.php'
Traceback (most recent call last):
File "./cvs2svn.py", line 2390, in ?
main()
File "./cvs2svn.py", line 2386, in main
convert(ctx, start_pass=start_pass)
File "./cvs2svn.py", line 2230, in convert
_passes[i](ctx)
File "./cvs2svn.py", line 2165, in pass4
c.commit(dumper, ctx, sym_tracker)
File "./cvs2svn.py", line 1941, in commit
branches)
File "./cvs2svn.py", line 1159, in add_or_change_path
pipe.close()
IOError: (0, 'Error')
--
BioTeC - Bioprocess Technology and Control
Dept. Chemical Engineering
Katholieke Universiteit Leuven
W. de Croylaan 46
B-3001 Heverlee
Tel.: +32(0)16/32.27.07 (direct) +32(0)16/32.26.76 (secretary)
Fax: +32(0)16/32.29.91
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Feb 5 17:05:55 2004