You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add svn_client_patch2 function that accesses the patch file from an
APR file instead of using a local path.
* subversion/include/svn_client.h
(svn_client_patch2): New function.
(svn_client_patch): Deprecate.
* subversion/libsvn_client/deprecated.c
(svn_client_patch): Add and implement through svn_client_patch2().
* subversion/libsvn_client/patch.c
(apply_patches): Accept a file instead of a path and create a
svn_diff_patch_parser_t instead of opening a svn_patch_file_t.
(svn_client_patch): Update implementation to svn_client_patch2.
* subversion/svn/patch-cmd.c
(svn_cl__patch): Check and open the patch file manually, pass to
the new function, and close it then.
* subversion/tests/libsvn_client/client-test.c
(test_patch): Update patch api used.
See also a related discussion with myself on dev@ where this was
initiated: https://lists.apache.org/thread/p260hdrt5wx0tv6xs9l5nt3pvbzvnrv4
git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1925463 13f79535-47bb-0310-9956-ffa450edef68
0 commit comments