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

Re: Regex causes bug ID box to disappear

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Fri, 23 Dec 2011 10:08:19 +0100

On Thu, Dec 22, 2011 at 23:41, Tom Isaacson <parsley72_at_gmail.com> wrote:
> I found this problem in V1.7.3, but I've tried all the releases back to V1.7.0 and it's still there.
> Currently we're using Mantis with the simplest settings to detect bug IDs:
> bugtraq:message = issue #%BUGID%
> But if I change this to the regex expression provided here:
> http://tortoisesvn.net/docs/nightly/TortoiseSVN_en/tsvn-dug-bugtracker.html
> So bugtraq.message disappears and we get:
> bugtraq.logregex = [Ii]ssues?:?(\s*(,|and)?\s*#\d+)+ (\d+)
> Then the bug ID box in the top right hand corner of the commit dialog disappears.
> The URL above states "If both the bugtraq:message and bugtraq:logregex properties are set, logregex takes precedence." So if I just set bugtraq:message to "hack" the bug ID box reappears and the regex seems to be used correctly in my logs, so I think I can use this as a workaround for now.

the bugtraq:message is required for the bug ID box to show up in the
commit dialog. Because that's what's used to add a bugtraq line to
your log message when you enter an issue number into that box.
The regex however is for parsing log messages for issue ids, so you
have to enter it yourself in the message, not via a box.

That's by design. No "workaround for now": it will stay this way.


  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 2011-12-23 10:08:44 CET

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