[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: Julian Reschke <julian.reschke_at_gmx.de>
Date: 2005-01-07 14:09:42 CET

Greg Hudson wrote:
> On Thu, 2005-01-06 at 23:01, Ben Collins-Sussman wrote:
>
>>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!
>
>
> I'm confused.
>
> When I asked why we needed a libsvn_fs table indexed by lock token (and
> not just one indexed by path), I thought I was told that it's because
> DAV needs a way to unlock by token. But if the DAV unlock request
> includes a URL (which corresponds to an FS path), then why do we need to
> be able to unlock by token only?

WebDAV's UNLOCK always adresses by URI (it's HTTP, after all). So the
only DAV way to remove a lock is to address the UNLOCK request to one of
the URIs protected by that lock.

Best regards, Julian

-- 
<green/>bytes GmbH -- http://www.greenbytes.de -- tel:+492512807760
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Jan 7 14:10:56 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.