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

Re: Multiple numeric bug#'s

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-03-29 18:26:36 CEST

Idan Gazit wrote:

> My issue is somewhere between enhancement & defect. It has to do with
> numeric bug#'s being entered into the bug id field.
>
> Here is our configuration:
>
> bugtraq:url = http://foo.bar.com/trac/ticket/%BUGID%
> bugtraq:message = Tickets affected: #%BUGID%
>
> The problem arises when there is more than one bug solved by a given
> checkin. If I enter more than one bug# in this field, like "83,23,94",
> then the output at the end of the log entry is:
>
> Tickets affected: #83,23,94
>
> Where I desire it to be:
>
> Tickets affected: #83,#23,#94
>
> An kludge solution would be to turn off bugtraq:numeric, but then I
> developers will be mistakenly putting text there.
>
> Is it possible to have a special format for bugtraq:message so it can be
> specified what to do in the case of several different bug numbers? For
> example:
>
> bugtraq:message = Tickets affected: #%BUGID%{{, #%BUGID%}}

The bugtraq:message is already defined and used not only by TSVN but
other clients too. So changing the definition of it isn't an option.
We'd have to introduce yet another property for this.

> where the 2nd and subsequent numbers entered are formatted according to
> what is in {{ }}. Or some similar scheme.
>
> In our case we use Trac as our bugtracking system, which will autoformat
> numbers of the form "#nnn" as links to the relevant ticket when viewing
> log entries, so this is very very useful. However without the '#' it
> doesn't work...

Trac uses regexes to parse the log message. Please have a look at our
bugtraq regex properties and use those.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.tigris.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Wed Mar 29 18:30:56 2006

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

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.