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

Re: Properties for new folders

From: Simon Large <simon_at_skirridsystems.co.uk>
Date: 2007-02-22 22:35:58 CET

Sunny wrote:
> Hi,
> I read this question and Stefan's answer:
>
> <http://tortoisesvn.tigris.org/servlets/ReadMsg?listName=dev&msgNo=23433>
>
> But unfortunately it does not explain how should I set bugtraq
> properties so if a new folders is added, these properties are
> propagated as well. Any pointers will be highly appreciated.

Sorry, can't be done. auto-props only work for files, and Subversion
does not (yet) have any mechanism for inherited properties.

The only thing you can do is set up a pre-commit hook to reject folder
additions if they don't have that property set.

On the plus side, TSVN searches upwards through the WC structure looking
for the property. You only have problems with the property not existing
on sub-folders if you checkout one of those folders on its own.

Simon

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Thu Feb 22 22:35:59 2007

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.