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

Re: Autoprops don't always work when committing non-versioned files

From: Stefan Wild <stefan.wild_at_autinity.de>
Date: Tue, 07 Sep 2010 09:57:37 +0200

Am 06.09.2010 19:40, schrieb Stefan Küng:
> On 03.09.2010 17:05, Thierry Vergote wrote:
>> Hi,
>>
>> tsvn:autoprops is not working for me in the following scenario:
>> I have property tsvn:autoprops set to "*.* =
>> svn:needs-lock;svn:keywords=Id" on a subdirectory of trunk.
>> On trunk there are no autoprops.
>> After putting a new file in the subdirectory (without adding it) ,
>> right-click on the trunk directory and commit, then select the
>> non-version file and commit it. The new file will not have te properties
>> set.
>> When right-clicking on the subdirectory instead of on trunk, it works fine.
>> It looks like Tortoise is using the autoprops property of the selected
>> directory instead of the subdirectory where the file is added.
> This is by design:
> the project properties are read from bottom-to-top. Not top-to-bottom.
> If you right-click on the trunk folder and choose commit, the properties
> from that folder are used. Only if you commit from a folder below, those
> properties are used and if not present, the properties from parent
> folders are used instead.
>
> remember: these are project properties, not folder properties. They're
> meant to apply to the whole project, not some subfolder.
>
> Stefan

Hm... don't you agree that the other design would be more useful?
If I have several folders with several autoprops, I have to remember every single setting to commit properly every single folder... that's about the same cost like adding the properties manually instead of auto :o
In my current projects all files should have the same svn-props, but I think others (Thierry) don't.

-- 
Mit freundlichen Grüßen
Stefan Wild
autinity systems GmbH
Neefestraße 42
D-09119 Chemnitz
Amtsgericht Chemnitz HRB: 21552
Telefon: +49 (0) 371 918897-50
Fax:     +49 (0) 371 918897-49
email:   stefan.wild_at_autinity.de
web:     www.autinity.de
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2656276
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-07 09:58:01 CEST

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