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

Re: win98 problem: another process has locked a portion of the file

From: Michael Wood <mwood_at_its.uct.ac.za>
Date: 2003-08-04 09:46:49 CEST

Hi

On Sun, Aug 03, 2003 at 02:05:03AM +0200, Roger Erens wrote:
> Hello,
>
> in order to fix the error about not being able to obtain a UID on win98 I'm
> trying to follow the FAQ's recipe
> svn co --username user http://server/repository
> However I have a problem:
> after creating an empty directory svn on my F: partition, I did
> F:\svn>svnadmin create f:\svn\rep
> which seemed to be doing OK, followed by
> F:\svn>svn co --username roger file:///svn/rep
> resulting in this error message:

AFAIK Berkeley DB does not work on Win9x. Also, if F: corresponds to a
network filesystem that could cause problems too, since Berkeley DB is
known not to work on certain network filesystems.

> svn: Couldn't open a repository.
> svn: Unable to open an ra_local session to URL
> svn: Unable to open repository 'file:///svn/rep'
> svn: The process cannot access the file because another process has locked
> a po
> rtion of the file.
> svn: get_repos: shared db lock on repository `/svn/rep' failed
>
> and including the F:\ in the path (which I shouldn't as I understood from

There should be no problem with including the drive letter.

> part C in The Definitive Guide) gives
> F:\svn>svn co --username roger file:///f:/svn/rep
> svn: Obstructed update
> svn: 'rep' is already a working copy for a different url

This error is different because the first attempted checkout created a
partial working copy that the second one is choking on.

> Funny (at least, to me), is when I reverse these commands, the error
> messages are not reversed:
[snip]

This is because of the partial working copy mentioned above. If you
remove it after every failed checkout attempt you should get the same
error every time.

> Is there some help for me?

Only if you use a different operating system or if you have the
repository on a machine running WinNT/2k/XP or a form of Unix and access
it via http://blah or svn://blah.

-- 
Michael Wood <mwood@its.uct.ac.za>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Mon Aug 4 09:47:49 2003

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.