Updated patch, accepts all Karl's comments. The current implementation
of ra_svn_lock and ra_svn_unlock have been changed to ra_svn_lock_compat
and ra_svn_unlock_compat.
Patch for issue 2264 - svn client and server enhancement to send multiple
locks over ra_svn. Test #22 in lock_tests.py covers this scenario.
* subversion/libsvn_ra_svn/ra_svn.h
(svn_ra_svn__handle_failure_status): New function pulled out of
svn_ra_svn_read_cmd_response to allow lower-level handling of
cmd response.
* subversion/libsvn_ra_svn/marshal.c
(svn_ra_svn__handle_failure_status): New function.
(svn_ra_svn_read_cmd_response): Refactored to call
svn_ra_svn__handle_failure_status.
* subversion/libsvn_ra_svn/client.c:
(ra_svn_vtable): lock function pointer changed to ra_svn_lock_many and
unlock function pointer changed to ra_svn_unlock_many.
(svn_ra_lock_compat): Old svn_ra_lock, fallback for 1.2.x servers.
(svn_ra_unlock_compat): Old svn_ra_unlock, fallback for 1.2.x servers.
(svn_ra_lock): Modified to implement 'lock-many' verb.
(svn_ra_unlock): Modified to implement 'unlock-many' verb
* subversion/libsvn_ra_svn/serve.c:
(main_commands): Added "lock-many", "unlock-many" verbs and corresponding
function pointers.
(lock_many): New function to implement "lock-many" verb.
(unlock_many): New function to implement "unlock-many" verb.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Jun 25 14:26:31 2005