[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: <kfogel_at_newton.ch.collab.net>
Date: 2003-01-30 23:18:05 CET

Marshall White cscidork@yahoo.com writes:
 Log:
 Make cvs2svn work again.
 
 * subversion/bindings/swig/swigutil_py.c (svn_swig_py_make_file):
   Call apr_os_file_put with an argument of O_RDWR instead of O_WRONLY.
   We might be wanting to read the file instead of just writing to it.
 
 * tools/cvs2svn/cvs2svn.py:
   Replace all occurances of svn_stream_from_stdio with calls to
   svn_stream_from_aprfile

Hmmm. I'm surprised tihs works, because (in C) those two functions
take arguments of different types. But in Python, they're both taking
the result of an os.popen() as argument... Is SWIG type conversion
folding this so that the two functions are now interchangeable?

-K

---------------------------------------------------------------------
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:24 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.