r1239553 | stsp | 2012-02-02 05:35:09 -0600 (Thu, 02 Feb 2012) Add --no-diff-properties and --patch options to 'svn diff'. The --patch option implies --no-diff-properties and --show-copies-as-adds. These options are useful when creating patches for consumers that do not understand or do not care about Subversion properties. Patch by: Alexey Neyman <stilor@att.net> * subversion/svn/cl.h * subversion/svn/main.c New options, --no-diff-properties and --patch for svn diff. * subversion/include/svn_client.h (svn_client_diff6,svn_client_diff_peg6): New argument, ignore_prop_diff. (svn_client_diff5,svn_client_diff_peg5): Update comments. * subversion/libsvn_client/deprecated.c (svn_client_diff5,svn_client_diff_peg5): Pass FALSE as ignore_prop_diff. * subversion/libsvn_client/diff.c (diff_cmd_baton): New field, ignore_prop_diff. (diff_props_changed): Do nothing if diff_cmd_baton->ignore_prop_diff is set. (svn_client_diff6,svn_client_diff_peg6): Pass ignore_prop_diff downstream via diff_cmd_baton. * subversion/svn/diff-cmd.c (svn_cl__diff): Handle --patch and --no-diff-properties. * subversion/svn/log-cmd.c (log_entry_receiver): Request property changes from svn_client_diff6.
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>