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

Re: TSVN 1.6.0 commit recent messages with bugtraq:...

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Tue, 24 Mar 2009 18:34:16 +0100

Matthias Körner wrote:
> Hi,
> thanks for Your answer.
> Here are the actual propertys (also see attachment):
> bugtraq:label gw: #
> bugtraq:logregex gw:?(\s*(,|und)?\s*#\d+)+
> (\d+)
> bugtraq:message gw:#%BUGID%
> bugtraq:number true
> bugtraq:url http://s07cas/GWFileGenerator/GetTodo.aspx?TaskNumber=%BUGID%
> bugtraq:warnifnoissue true
> I have attached an screenshot of the issue. I hope this can help You solve the problem.

The problem is that bugtraq:message is defined as a separate line in the
log message. And your log message that you've entered had other text too
on that 'bugtraq line'. While the bugtraq:logregex properly extracted
only the bug ID from the whole text (that's what it's there for and also
how it's defined), the bugtraq:message can not do that: You've defined it as
which means the whole text after 'gw:#' is treated as the bug ID and
therefore filled into the bug ID field in the commit dialog.

I guess I should use the bugtraq:logregex if it's specified to get the
bug ID for filling in the field...


  oo  // \\      "De Chelonian Mobile"
 (_,\/ \_/ \     TortoiseSVN
   \ \_/_\_/>    The coolest Interface to (Sub)Version Control
   /_/   \_\     http://tortoisesvn.net
To unsubscribe from this discussion, e-mail: [users-unsubscribe_at_tortoisesvn.tigris.org].

Received on 2009-03-24 18:35:01 CET

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.