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

RE: Locking in SVN 1.2.0

From: William Ferguson <william.ferguson_at_hubbub.com.au>
Date: 2005-06-09 07:51:17 CEST

Ahh .. found it.

I was passing a Map of path->revision into svn_ra_unlock instead of
path->lockToken.

William

-----Original Message-----
From: William Ferguson
Sent: Thursday, 9 June 2005 11:05 AM
To: 'Ben Collins-Sussman'; William Ferguson
Cc: 'users@subversion.tigris.org'
Subject: RE: Locking in SVN 1.2.0

Hmm, well I'm using the free VC compiler which doesn't look like it has a
debugger.
I haven't had much need to use a debugger since I switched to Java 6 years
ago.

Ands it the svn_ra_unlock() call that is throwing the error.
svn_ra_lock() seems to work just fine.

William

-----Original Message-----
From: Ben Collins-Sussman [mailto:sussman@collab.net]
Sent: Thursday, 9 June 2005 10:46 AM
To: William Ferguson
Cc: 'users@subversion.tigris.org'
Subject: Re: Locking in SVN 1.2.0

Perhaps you can step through the svn_ra_lock() call with a debugger,
and figure out why the repository is throwing that error?

On Jun 8, 2005, at 5:21 PM, William Ferguson wrote:

> I'm writing code against SVN_RA.
> I'm not using the SVN command-line client, so I can't give you a
> command-line transcript.
>
>
> However, executing the following code:
> svn_ra_lock(userASession, resourceDefinitionHash, "locking
> comment", FALSE
> /* steal lock */, lockingCallbackFunc, lockBaton, memoryPool);
>
> svn_ra_unlock(userASession, resourceDefinitionHash, "unlocking
> comment",
> FALSE /* steal lock */, lockingCallbackFunc, lockBaton, memoryPool);
>
> Gives:
>
>
>> No lock on path
>>
> '/trunk/SubVersionRA/testdata/locking/random-326047563.txt'
>
>> in filesystem 'D:/Tools/SubVersion/SubVersionRA-TestRepository/db'

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Jun 9 07:53:44 2005

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.