[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-01 14:57:39 CEST

Updated log and patch attached based on reviews by Karl Fogel and Julian
Foad.

Thanks
Sameer

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_many): New function implementing 'lock-many' verb.
  (svn_ra_unlock_many): New function implementing '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 Wed Jun 1 15:00:15 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.