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

Re: Locking issues

From: D.J. Heap <dj_at_shadyvale.net>
Date: 2005-04-14 01:52:41 CEST

Peter N. Lundblad wrote:
>>Ah, sorry, I was using ra_svn on a fsfs repository. You are right -- on
>>ra_local and ra_dav I get an error trying to lock in the 2nd working
>>copy: svn: Lock failed: newer version of '/file.txt' exists.
> Should be fixed in r14169. Proposed for backport.

Thanks for the quick fix.

One more thing I've found on ra_svn (not sure about others) is that the
lock member of svn_wc_notify_t is not NULL on lock failures as
documented -- but all it's members are NULL.

It seems to be because libsvn_ra_svn\client.c:parse_lock is not clearing
the lock pointer on errors (or it could use a temp before assigning to
the real lock pointer).

Also, is running 'svn info FULL_URL' the only way to view repository
lock information? 'svn info -r head filename' doesn't seem to show it
and typing the full url can be extremely cumbersome...am I missing the
short and easy way to do it?


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Apr 14 01:53:48 2005

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