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

Re: Properties not herited from parent directory

From: Andy Levy <andy.levy_at_gmail.com>
Date: Thu, 31 Jul 2014 10:00:27 -0400

On Thu, Jul 31, 2014 at 9:57 AM, Andy Levy <andy.levy_at_gmail.com> wrote:
> On Thu, Jul 31, 2014 at 1:04 AM, Marc MENDEZ <mme.web100t_at_gmail.com> wrote:
>> Hi,
>>
>> We added properties (svn-needlock, svn-keywords...) on the root of our
>> project. It works fine
>> Yesterday, on my local working copy, I create a new directory under a
>> subdirectory already presents in the trunk. I put as well files in this new
>> dir.
>> I added the directory and its content to svn and commited it.
>>
>> I was suprised to note that :
>> - all the files were writable (normally, they should have been read only)
>> - the keywords were not replaced
>> - I could change any file : lock was not required
>>
>> To solve the problem, I had to set all these properties thru the subversion
>> tab of the new directory.
>>
>> I thought the properties were herited from the parent dir and automatically
>> propagated to any new subdir/file. Am I wrong ?
>
>
> Did you set the property names correctly on the parent directory? In
> your email, you wrote svn-needlock and svn-keywords but they're
> actually svn:needs-lock and svn:keywords.

Also, what version of TortoiseSVN are you using? Inherited properties
didn't come into being until SVN 1.8, and I'm not sure when
svn:auto-props (which could also be used for this purpose) came on the
scene (tsvn:auto-props has been around for a while though)

------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=3086046

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-07-31 16:01:10 CEST

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.