You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Jonas Borgström <jo...@wmdata.com> on 2005/05/18 07:39:53 UTC

Python and svn_txdelta_send_stream

Hi,

The function "svn.core.svn_txdelta_send_stream" is currently almost
unusable from Python because it expects the first argument to be a
"svn_stream_t *" stream. The attached patch instructs swig to wrap
python file objects into svn_stream_t:s. The same approach is already
used by svn_repos.i.

Should I create a bug about this?

The patch is against 1.2.0-rc4.

Cheers,
Jonas

Re: Python and svn_txdelta_send_stream

Posted by "Peter N. Lundblad" <pe...@famlundblad.se>.
On Wed, 18 May 2005, Jonas Borgström wrote:

> The function "svn.core.svn_txdelta_send_stream" is currently almost
> unusable from Python because it expects the first argument to be a
> "svn_stream_t *" stream. The attached patch instructs swig to wrap
> python file objects into svn_stream_t:s. The same approach is already
> used by svn_repos.i.
>
> Should I create a bug about this?
>
This looks like a simple patch, but I'm no SWIG expert. Can you file this
as an issue, please?

Don't forget to link to this thread in the issue.

Please include a log message with patches you send and it is easier if the
patch is relative to the root directory of the distribution (or trunk if
you have the svn code checked out).

Thanks for the patch
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org