You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Daniel Shahaf <d....@daniel.shahaf.name> on 2011/08/16 22:26:09 UTC
svn:// over ra_dav
Looking at <http://subversion.tigris.org/issues/show_bug.cgi?id=2263>,
the current suggestion there is to implement multiple-locks-in-one-request
by POSTing to the me resource. The POST handler is already implemented ---
it slurps the request body, parses a skel and calls a callback with the
remainder of the skel --- and it has one user already (implemented for
both ra_neon and ra_serf).
Given the above, implementing #2263 does look like a straightforward
exercise. However, it would require a custom skel-based request format
for the body. Couldn't we use the ra_svn lock-many request for that?
And, if we could...
Couldn't we take this one step further and write a POST handler that,
essentially, acts as an ra_svn proxy --- grabbing a POST request from
the network and passing it unmodified to ../svnserve/serve.c?
---
So, this may be an absurd conclusion, but I would feel ridiculous
implementing a skel-based solution for a problem that we have
a known-good ra_svn-tuples-based solutions for.