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

[PATCH] fix cvs2svn for stream_from_stdio api change

From: <clkao_at_clkao.org>
Date: 2003-01-26 18:54:01 CET

it seems that cvs2svn hasn't caught up the api change.

Index: cvs2svn.py
===================================================================
--- cvs2svn.py (revision 4590)
+++ cvs2svn.py (working copy)
@@ -383,7 +383,7 @@
         delta.svn_txdelta_send_string(pipe.read(), handler, baton, f_pool)
       else:
         # open an SVN stream onto the pipe
- stream2 = util.svn_stream_from_stdio(pipe, f_pool)
+ stream2 = util.svn_stream_from_aprfile(pipe, f_pool)
 
         # Get the current file contents from the repo, or, if we have
         # multiple CVS revisions to the same file being done in this
@@ -392,7 +392,7 @@
         # the contents in the repo won't have changed yet.
         if repos_path == lastcommit[0]:
           infile2 = os.popen(co -q -p%s \'%s\' % (lastcommit[1], f), r, 102400)
- stream1 = util.svn_stream_from_stdio(infile2, f_pool)
+ stream1 = util.svn_stream_from_aprfile(infile2, f_pool)
         else:
           stream1 = fs.file_contents(root, repos_path, f_pool)
 

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