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

Re: bugtraq properties always on

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-07-25 19:52:36 CEST

Nicolai Scheer wrote:
> Hi!
>
> Stefan Küng schrieb:
>> Nicolai Scheer wrote:
>>> Hi!
>>>
>>> Simon Large wrote:
>>>
>>> [auto-props on folders]
>>>
>>>> Sorry, no. SVN does not have any way to apply properties to folders
>>>> automatically. The only way you can force this at present is to use a
>>>> pre-commit hook to reject folder additions if they do not have the
>>>> right properties set.
>>> Well, that unfortunately does not decreases the manual-work that needs
>>> to be done.
>>> I did not have a look at the tsvn sources, yet, but it should be
>>> possible to modify tsvn to just act as if those bugtraq properties would
>>> always be there. Then I would not have to set these at all, and tsvn
>>> always displays the "ticket" input field.
>>>
>>> Ugly hack? Any chance to do better than this?
>> That wouldn't work. Just assuming that the properties are there isn't
>> enough. TSVN needs the contents of those properties.
>> By simply showing the input field, TSVN misses the information on how to
>> append the content of that input field to your log message.
>
> Maybe I can modify TSVN in a way, that I can use something like
> "implicit properties". TSVN just would read a property-file (as svn
> propset does) and act as if those properties were set.
> I could try to add a section [implicit-properties] to the svn client
> config file...

But that would then either have to be configured to a specific working
copy path, or it would apply to *all* working copies (even those you
might not want to have project properties or which point to different
issue tracker URLs).

As of revision 10234, the TSVN project properties are automatically
added to folders which are added with the TSVN Add command.

Stefan

-- 
        ___
   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 Wed Jul 25 19:51:27 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.