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

Re: Tool for converting a CVS repository into a SVN repository?

From: <cscidork_at_yahoo.com>
Date: 2003-01-30 21:40:58 CET

--- Karl Fogel kfogel@newton.ch.collab.net wrote:
 Marshall White cscidork@yahoo.com writes:
  Actually, I don't believe the script works now.
  It tries to call a function svn_stream_from_stdio that doesn't
  seem to exist anymore.
  
  I have been trying to decide over the last few days how hard it
  might be to fix it. However I not very familiar with SWIG or Python
  and it is a challenge.
 
 That function was removed in revision 4570, in favor of
 svn_stream_from_aprfile(). I'm not sure what the right fix is in
 cvs2svn.py, but it's probably not hard (anyone know it off the top of
 their head?)
 
 -K
 
 ---------------------------------------------------------------------
 To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
 For additional commands, e-mail: dev-help@subversion.tigris.org
 

Actually I guess I couldn't see the forest for the trees.
A found a fix that seems fairly simple.
I had to change the calls from svn_stream_from_stdio to svn_stream_from_aprfile.
Over the past few days I have tried this once or twice, but there was another small change in
swigutil_py.c to the function svn_swig_py_make_file that I kept overlooking.

After these two changes it was able to convert my CVS repository.

I can post a patch if you're interested. I am hoping that the small change in swigutil_py.c
didn't accidently break something else.

I will grep through the code and see what else is calling that function.

Marshall

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 14 02:26:15 2006

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

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