[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 Küng <tortoisesvn_at_gmail.com>
Date: Mon, 06 Sep 2010 19:40:45 +0200

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

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=2656082
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2010-09-06 19:41:13 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.