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

Re: Unable to lock error: what is going on here?

From: Steve Cohen <scohen_at_javactivity.org>
Date: Thu, 02 Dec 2010 17:22:23 -0600

On 12/02/2010 08:39 AM, Bob Archer wrote:
>> $ svn update
>> svn: Unable to lock 'utscmd'
>>
>> $ svn propget svn:ignore
>> utspkg_src
>> utscmd
>> utslib
>> utsbin
>> utstool
>>
>> utscmd is a subdirectory of the current working directory. It is
>> included in svn:ignore. Why is svn even trying to lock this
>> directory?
>>
>> The sequence of events here is that the project was checked out and
>> then
>> its build command run. The build command created a number of
>> directories, which have been added to svn:ignore so as not to
>> figure in
>> svn at all.
>>
>> What am I failing to understand here?
>
> Are you sure utscmd is not already versioned. Ignores only works on non-versioned files.
>
> BOb
>
>
>
Yes, that was the problem. The directory was already versioned and it
shouldn't have been. The build process then came along and destroyed it
(including its .svn subdirectory) and made a new one.

However, I still don't understand why svn update is designed to fail if
unversioned directories are found below it. Couldn't they just be ignored?
Received on 2010-12-03 00:23:58 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.