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

Re: Files with needs-lock property not read only.

From: FG <fgatwork_at_verizon.net>
Date: 2006-01-06 00:50:02 CET

Steve Williams wrote:
> FG wrote:
>> Bill Williams wrote:
>>> I have set the needs-lock property on the file, but when I checkout
>>> the directory structure the file is located within, the file
>>> still has read/write permissions.
>>
>> Did you commit the file after changing that property??
>
> Did you set the "needs-lock" property or the "svn:needs-lock" property?
>
If he is using TortoiseSVN (mentioned earlier), the property should show
up properly.

I'd test the following tonight, but am about to wrap up and head out for
dinner with the wife, so I leave it to you...

After checking out the file (after the initial import) - what is the
status of that property?? If it needs to be reset, do so and then
commit again. Perform an update or do a checkout on another machine or
to another directory. See what happens.

Maybe there is something wrong with setting the property on the file
prior to the import. Which actually kind of makes sense. When you do
an import, the file is not part of the repository, therefore there is no
property to set on that file. So you import the files (revision 1) and
then set your properties (revision 2 with commit).

Something to think about...

Regards,
Frank

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri Jan 6 01:25:38 2006

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.