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

Re: ra_dav->unlock()

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2005-01-07 08:20:49 CET

On Thu, 6 Jan 2005, Ben Collins-Sussman wrote:

> I finished ra_dav->lock(), and then started working on ra_dav->unlock().
>
> The problem is that in order to issue an http UNLOCK request, I need a
> URI to run it on. But RA->unlock() takes only a token, not a path!
>
> Solution 2:
>
> Just add a 'path' argument to RA->unlock().
>
+1. I don't see a scenario where you have the lock token but not the path.
This also avoids an extra round-trip to fetch the token when force ==
TRUE, but that is minor.

Regards,
//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 7 08:33:45 2005

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