[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: Marc MENDEZ <mme.web100t_at_gmail.com>
Date: Fri, 1 Aug 2014 14:05:34 +0200

Hi,

I upgraded to the latest version of TortoiseSVN.
I made this test one installed :
- in a directory known of SVN, I add a new file
- I commit the file

The file is not write protected and the keywords are not changed :(

Here the config file I use :

### Section for configuring automatic properties.
[auto-props]
*.dpr =
*.dproj =
*.res =
*.RES =
*.tlb =
* = svn:needs-lock;svn:keywords=Id Revision Author Date

There is nothing else in my config file.

Marc

2014-07-31 16:10 GMT+02:00 Mendez Marc <mme.web100t_at_gmail.com>:

> I use Tortoise 1.7.4.
>
> I'm really surprise to discover such functionality (inherited properties)
> was just implemented in this version :)
>
> I'll check if I can upgrade to 1.8.x (need to ask my admin ...). Then, if
> yes, I'll verify if my problem is fixed with
>
> Thanks a lot !
>
> Marc
>
>
> 2014-07-31 16:00 GMT+02:00 Andy Levy <andy.levy_at_gmail.com>:
>
> 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].
>>
>
>

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

To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2014-08-01 14:07:22 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.