[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: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2007-01-09 19:34:57 CET

Mark Clements wrote:

> One issue I have come up against though: We use the bugtraq:url and related
> properties to automatically hyperlink references to bugs in our log
> messages. We added this as a property of the repository's root directory,
> however this only works when viewing log messages for that directory - not
> for other files/folders.
>
> Now, I understand how properties work in SVN, and so in a way it doesn't
> surprise me that this is the case. I am assuming that the properties need
> to be set for _all_ directories in the repository.

That's the best approach, yes.

> How can I make sure that this happens? I know that auto-props don't work on
> directories, and that recursively adding it to the root will not help when
> new directories are added. Do we really have to add this manually to each
> directory in order to have our buglinks hyperlinked?

TSVN will search the working copy upwards until it finds a folder with
those properties set. If you can make sure that every user checks out
e.g. from /trunk and not some subfolder, it's enough to set the
properties there.

> Also, do we need to add it to every file so that it works when viewing a
> particular file's log message, or is that picked up from the directory
> setting?

No, only on folders. TSVN ignores the properties if they're set on files.

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 Tue Jan 9 19:35:08 2007

This is an archived mail posted to the TortoiseSVN Users mailing list.