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

Re: bugtraq:url and other repository settings

From: Mark Clements <gmane_at_kennel17.co.uk>
Date: 2007-01-10 00:03:50 CET

"Simon Large" <simon@skirridsystems.co.uk>
wrote in message news:45A41050.8080806@skirridsystems.co.uk...
> Mark Clements wrote:
> > [SNIP]
> >
> > Ah - I see. So in practice it only needs to be set on folders that are
> > likely to be WC roots. Unfortunately that includes all sub-folders
> > branches, and these are created quite often. Is there no way to
> > automatically get the property onto these folders?
> You can set the property recursively on existing folder structures to
> propagate it to all subfolders (files are excluded automatically :-)
> Unfortunately there is no automatic way to add properties when a folder
> is added. Maybe something to pester the subversion folks about. It's not
> obvious how it would work, though. Typically, directory properties such
> as the ones you need may be project-dependant, so they should be
> inherited from the parent rather than specified by file extension, which
> makes it more of a server-side requirement. I think inherited properties
> is on their TODO list, but I don't know how far off it is.
> I suppose it might be possible for TSVN to grow a tsvn:autodirprops
> property. If a folder is added to a WC and the parent has this value,
> use it to set a property on that folder. But there are 2 holes in this
> approach. It would fail if done through the repo-browser, as parent
> props are not available (how many server trips to you make to search up
> the tree?), and it would also fail if done by a different client, eg.
> CLI. So there would be a false sense of security and lots of 'I set
> auto-props and they don't always work' mails on the mailing list.
> You could possibly add a pre-commit hook to check folders for the
> presence of a bugtraq property.

Thanks for your help. I think the hook-script is probably the best approach
for our situation.

- Mark Clements

To unsubscribe, e-mail: users-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: users-help@tortoisesvn.tigris.org
Received on Wed Jan 10 00:04:08 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.