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

[PATCH] Fix python bindings for svn.wc.get_prop_diffs()

From: Jelmer Vernooij <jelmer_at_samba.org>
Date: 2007-07-20 04:13:33 CEST

Hi,

The attached patch fixes the python bindings for
svn.wc.get_prop_diffs(). Patch against trunk.

[[[
Fix Python bindings for svn.wc.get_prop_diffs().

* subversion/bindings/swig/include/svn_containers.swg:
  Add Python typemap for apr_array_header_t * of svn_prop_t *.

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c
  (svn_swig_py_proparray_to_dict): Rename from proparray_to_dict and
make public.

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.h
  (svn_swig_py_proparray_to_dict): Add public prototype.
  
* subversion/bindings/swig/python/tests/wc.py
  (test_get_prop_diffs): Add unit test for svn.wc.get_prop_diffs()

]]]

Please comment if there's any particular reason this patch can't go into
trunk as-is.

Cheers,

Jelmer

Received on Fri Jul 20 04:18:01 2007

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.