On Nov 28, 2004, at 3:33 PM, Peter N. Lundblad wrote:
>
> - I assume current_token can be NULL for ra->lock if you don't have a
> okten. This isn't celar from the docstring. Also, what happens if your
> token is wrong, but the username matches?
>
Yes, the 'current_token' parameter is only used to refresh an existing
lock. otherwise, it's not needed at all. If the token doesn't match
the existing lock on theh path, then your refresh attempt fails. See
svn_fs_lock(): it actually answers your question. I wasn't sure how
much detail to copy from svn_fs.h to svn_ra.h. :-)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 29 00:03:53 2004