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

Locking in SVN 1.2.0

From: William Ferguson <william.ferguson_at_hubbub.com.au>
Date: 2005-06-08 07:56:41 CEST

I'm having a couple of problems using the new locking functionality.

1) I can't seem to unlock a locked Resource. ie
    UserA locks Resource1.
    UserA (new RA session) unlocks Resource1 - this fails with:
No lock on path '/trunk/SubVersionRA/testdata/locking/random-326047563.txt'
in filesystem 'D:/Tools/SubVersion/SubVersionRA-TestRepository/db'

  Even though TortoiseSVN clearly shows a lock on Resource1 owned by UserA.

2) I can't seem to update a Resource on which I own a lock. ie
    UserA locks Resource1
    UserA (new RA session) gets a commit_editor and updates the content of
Resource1 - this fails with:
Cannot verify lock on path
'/trunk/SubVersionRA/testdata/locking/random-1652950827.txt'; no matching
lock-token available

  Again, TortoiseSVN clearly shows a lock on Resource1 owned by UserA.
  Am I meant to store the lock token (as passed to svn_ra_lock_callback_t)
from the original lock and pass that back in? If so, where do I supply it?

Anyone facing similar problems?
Or know where I'm putting a foot wrong?


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Jun 8 08:00:04 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.