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

Re: Will the "file lock" problem be solved under Win98SE in the nearest future?

From: Ben Collins-Sussman <sussman_at_collab.net>
Date: 2005-08-10 19:56:44 CEST

On Aug 10, 2005, at 5:50 AM, Alexey Lyubimov wrote:

> Hello,
> What is the near-term outlook of the Subversion under
> Win98? In paticular I'm talking about "svn co
> file:///" checkout from local repository, stored on a
> local drive under Win98SE. I was planning to switch
> from CVS to SVN but at the moment I found out that I
> can not checkout from successfully created FSFS-type
> local repository under Win98. The FAQ says that BDB
> doesn't work on Win9x, but FSFS should work!
> I can create repository, I can import projects into
> the repository, but I CAN NOT CHECKOUT ANYTHING: svn
> says, that it is a problem with shared lock on db.lock
> :(
> Is there any workaround for keeping local FSFS
> repositories under Win98?

The problem is that the svn_repos_open() call tries to take out a
shared lock on a particular file, and win98 doesn't support shared
locks. It turns out that this feature is only necessary for BDB
repositories (so that 'svnadmin recover' can grab an exclusive lock
on the same file). What we need to do is change that function to
*not* attempt to grab shared locks if the repository is FSFS. I
don't think anyone has gotten around to it yet. :-/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Aug 10 19:58:37 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.