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