[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 - v6

From: VK Sameer <sameer_at_collab.net>
Date: 2005-07-06 12:31:20 CEST

Updated patch, after review by Karl Fogel and Julian Foad.

Regards
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): Function pointers for "lock" and "unlock" changed to
  ra_svn_lock_many and ra_svn_unlock_many, respectively.
  (ra_svn_lock_compat): Old ra_svn_lock, fallback for 1.2.x servers.
  (ra_svn_unlock_compat): Old ra_svn_unlock, fallback for 1.2.x servers.
  (ra_svn_lock): Modified to implement "lock-many" verb.
  (ra_svn_unlock): Modified to implement "unlock-many" verb
* subversion/libsvn_ra_svn/protocol:
  Added grammar for "lock-many", "unlock-many"
* 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 Jul 6 12:32:33 2005

This is an archived mail posted to the Subversion Dev mailing list.