[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: Nicolas Bottarini <nicolas_at_avatarla.com>
Date: 2005-12-15 15:44:16 CET

Bruce, i have more data. If I delete de working copy and create another one,
the files are readonly. But if I update on my previous working copy or
delete de file and update it in order to restore it, it isn't readonly.

This problem is very strange.

-----Mensaje original-----
De: Bruce Webber [mailto:brucewebber@fastmail.us]
Enviado el: Miércoles, 14 de Diciembre de 2005 04:01 p.m.
Para: users@subversion.tigris.org
Asunto: RE: Problem with needs-lock

--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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Thu Dec 15 16:23:59 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.