Alexey Neyman <stilor{__AT__}att.net>


Patch
r984565, r927222

r984565 | cmpilato | 2010-08-11 15:08:29 -0500 (Wed, 11 Aug 2010)

Fix the type of structures returned in bindings from svn_fs_paths_changed2().

* subversion/include/svn_fs.h
  (svn_fs_paths_changed2): Rename the argument from changed_paths_p to
    changed_paths2_p, so that it's different from argument to
    svn_fs_paths_changed().

* subversion/bindings/swig/svn_fs.i
  (changed_paths2_p): New %hash_argout_typemap, denotes apr_hash_t containing
    svn_fs_path_change2_t.

Patch by: Alexey Neyman <stilor{__AT__}att.net>
          (Tweaked by me.)

r927222 | rdonch | 2010-03-24 18:29:20 -0500 (Wed, 24 Mar 2010)

SWIG/Python: enable callback functions to return Subversion errors (by
throwing a SubversionException).

* subversion/bindings/swig/python/libsvn_swig_py/swigutil_py.c:
  (callback_exception_error): Extend to check for a SubversionException
   and attempt to translate it into an svn_error_t*.

* subversion/bindings/swig/python/tests/repository.py:
  (SubversionRepositoryTestCase.test_cease_invocation): New test for
   the above functionality.

Patch by: Alexey Neyman <stilor@att.net>
          me
Review by: Jon Foster <Jon.Foster@cabot.co.uk>