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

[PATCH] Fill in callbacks for svn_ra_callbacks2_t()

From: Jelmer Vernooij <jelmer_at_samba.org>
Date: 2006-05-26 03:45:08 CEST

Hi,

The attached patch allows the callbacks in svn_ra_callbacks2_t() to be
implemented in Python. This is one of the things required in order to
get svn_ra_commit() working from Python.

[[[

Allow callbacks in svn_ra_callbacks2_t() to be implemented in Python.

 * subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c

   (svn_swig_py_setup_ra_callbacks): Fill in callback function pointers
   and auth_baton

   (ra_callbacks_open_tmp_file,
    ra_callbacks_get_wc_prop,
    ra_callbacks_set_wc_prop,
    ra_callbacks_push_wc_prop,
    ra_callbacks_invalid_wc_props,
    ra_callbacks_progress_funcs): Add wrappers for Python callbacks

   (make_ob_string): Add function
  
]]]

My next patch will include a wrapper for svn_delta_editor_t as well as
tests for all the code related to svn_ra_commit() (including tests for
the svn_ra_callbacks2_t() callbacks)

Cheers,

Jelmer

-- 
Jelmer Vernooij <jelmer_at_samba.org> - http://samba.org/~jelmer/

Received on Fri May 26 03:45:38 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.