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

Re: Autoprops on directories

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 27 Aug 2012 20:16:54 +0200

On 27.08.2012 14:41, Markus Humm wrote:
> Hello,
>
> what I want is, that on any import/add the properties
> svn:bugtraq:url=[some URL] and svn:bugtraq:message=%BUGID% are added
> as properties to the new files and directories. For the import I want
> to have this on the project folder level. Tortoise can do this, but
> when I add something like this:
>
> *.* = svn:bugtraq:url=
>
> to the configuration file it works only for files and not for the
> project folder.
>
> Is it clear now what I want? A short google search didn't yet reveal
> how it could be done, it only brought up a post or so from 2005 which
> claimed that autoprops wouldn't work on folders. But I'd hoped this
> limit is gone now?

Yes, those autoprops only work on files since those are passed to the
svn library, and that as you've noticed doesn't add automatically to
folders.

But why do you want to set a property "svn:bugtraq:url"?

First, you must never, ever (repeat: never, ever, not in your whole
lifetime) use the 'svn:' namespace for your own properties. That
namespace is reserved.

Second, if you want to set the bugtraq:url property however: that
property is automatically added to new folders by TSVN. So you don't
have to set any auto props for this: it's already done automatically
without you needing to configure it.

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=3001385
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-08-27 20:17:03 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.