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

RE: Problem with needs-lock

From: Bruce Webber <brucewebber_at_fastmail.us>
Date: 2005-12-14 20:01:29 CET

--Nicolas Bottarini <nicolas@avatarla.com> wrote:

> Thanks for the response bruce. I commited the file but the problem
> persists.
>
> It's very strange... because with the windows server I had no problem

I have no idea what the problem could be. I suggest that you try to
reproduce the problem using svn commands in a command window, rather than
using TortoiseSVN. This will remove Tortoise from the picture, and perhaps
give additional information. Maybe someone else will have a suggestion.

Start with a file that does not have the needs-lock property (assume the
file is called test.txt). You can make sure with the command:

    svn propget svn:needs-lock test.txt

You should see no output from this command if the property is not set.

Next, set the property:

    svn propset svn:needs-lock "*" test.txt

You should see a message indicating that the property was set.

Now commit:

    set EDITOR=notepad.exe
    svn commit

(The first command tells svn what editor to use for the commit comments.)

Now check the repository:

    svn propget svn:needs-lock test.txt -r HEAD

Hopefully this will shed some light.

-- 
Bruce Webber
brucewebber@fastmail.us
http://brucewebber.us
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Wed Dec 14 20:15:32 2005

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