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

Re: [PATCH]: issue #2264 - multiple locks over ra_svn - v4

From: VK Sameer <sameer_at_collab.net>
Date: 2005-06-25 14:25:37 CEST

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
* 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

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.