[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: Sunny <sloncho_at_gmail.com>
Date: 2007-02-22 22:46:35 CET

On 2/22/07, Simon Large <simon@skirridsystems.co.uk> wrote:
> 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
>

Thanks Simon,
If I understand this right, when I checkout the whole three (not only
me, but any of my colleagues) if we add a new folder, and some files
in it, upon commit TSVN will still have the BugID box to set the case
number, and will update the repo properly. That should work for us.
Thanks again.

Cheers

-- 
Svetoslav Milenov (Sunny)
Even the most advanced equipment in the hands of the ignorant is just
a pile of scrap.
---------------------------------------------------------------------
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:46:53 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.