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

Re: Subversion Problem: Can't get exclusive lock on file

From: Tommy Nordgren <tommy.nordgren_at_comhem.se>
Date: Sun, 2 Mar 2008 15:17:06 +0100

On 2 mar 2008, at 02.10, Troy Curtis Jr wrote:

>
>
> On Sat, Mar 1, 2008 at 9:11 AM, Doug Martin <martindg_at_slpasoft.com>
> wrote:
> Very new to the version control process and Subversion and having a
> recurring problem. I can find references to this problem in various
> lists but no solution that I can wrap my head around.
>
> Running two mac platforms - MacBook Plus (10.4.11) and iMac
> (10.4.11). I
> have svn installed on both machines and can create and populate
> repositories on either machine on local drive. When I mount the iMac
> from the MacBook I can create a repository on the mounted drive:
>
> svnadmin create /Volumes/Macintosh\
> HD/Users/user/Development/svn/new_sams - Works
>
> However, when I try to import into the repository I get an error.
>
> svn import /Library/WebServer/Documents/temp/ file:///Volumes/Macintosh
> \
> HD/Users/user/Development/svn/new_sams/ -m "install"
>
> svn: Can't get exclusive lock on file '/Volumes/Macintosh
> HD/Users/user/Development/svn/new_sams/db/transactions/0-1.txn/rev-
> lock':
> Operation not supported
>
> --
> Doug Martin, Ph.D.
> Manager - Instructional Design Group
> Adjunct Associate Professor of Audiology
> University of Cincinnati
> 513-556-6689
> doug.martin_at_uc.edu
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: users-help_at_subversion.tigris.org
>
>
> I believe the issue here is that the filesystem that the repo is on
> does not support exclusive file locking. The solution here is to
> not use filesystems that don't support exclusive file-locking. I
> don't know any of the details of how the MAC <-> MAC network file
> sharing is implemented, but I think you are out of luck using that
> file access method. Stick to local drives or perhaps switch to NFS
> or something like that.
>
> Troy
>
> --
> "Beware of spyware. If you can, use the Firefox browser." - USA Today
> Download now at http://getfirefox.com
> Registered Linux User #354814 ( http://counter.li.org/)

        This is an issue with Berkeley DB. I don't think FSFS repositories
have this problem.
-----------------------------------
See the amazing new SF reel: Invasion of the man eating cucumbers from
outer space.
On congratulations for a fantastic parody, the producer replies :
"What parody?"

Tommy Nordgren
tommy.nordgren_at_comhem.se

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: users-help_at_subversion.tigris.org
Received on 2008-03-02 15:17:31 CET

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.