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

Re: Bug with http: URLs with functions from the client module in the Python bindings

From: David James <james_at_cs.toronto.edu>
Date: 2006-12-20 19:12:01 CET

On 12/20/06, Christian Boos <cboos@neuf.fr> wrote:
> Thanks a lot, the fixed script works for me as well!

Great, I'm glad to help!

> > Here's how to setup the authentication providers. I borrowed this
> > example from
> > http://svn.collab.net/repos/svn/trunk/contrib/client-side/svn_export_empty_files.py
> >
>
> Thanks for the pointer, I overlooked this one.
>
> That's great news, looks like the access to remote repositories through
> the python bindings is now working. So expect blame support, and
> possibly access to remote repositories in Trac 0.11 ;)
> Is there a particular help channel of choice where I could ask for more
> help on the Python bindings, would that be needed (here, on
> Subversion-users, directly to djames?)

If you need help on the Python bindings, send your questions to the
dev@ or users@ lists as you consider appropriate, and CC me.

> E.g. any hint about this one?
> > # use blame3, and for that, find a way to get a svn_diff_file_options_t
> > # instance
> >
>
> ... as the only reference I found to svn_diff_file_options_t in the
> python bindings was in the docstring of svn_client_blame3.

Currently, svn_diff_file_options_t is not wrapped, but you could
probably fix this easily by adding an %include svn_diff_h.swg line to
swig/core.i in the Python bindings. The Perl bindings already include
svn_diff_h.swg, but the Python bindings do not.

Once you've added %include svn_diff_h.swg to core.i, you should be
able to create a svn_diff_file_options_t object by calling
svn.core.svn_diff_file_create()

Cheers,

David

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Dec 20 19:12:23 2006

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