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

Re: Bugtraq:message, old revisions, "Bug-ID" and "Show Log"

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: 2006-10-05 17:22:28 CEST

Allen Cook wrote:
> I'm using TortoiseSVN 1.4.0 build 7501
>
> The root Working Copy folder has the following properties
>
> Bugtraq:append -- false
> Bugtraq:label -- Defect:
> Bugtraq:message -- Defect #%BUGID%
> Bugtraq:number -- true
> Bugtraq:url -- http://ourdefecttracker/id=?%BUGID%
> Bugtraq:warnifnoissue -- true
>
> Let's say I committed a revision with the following message before I
> enabled these features
> Message: Defect # 12432, I did some things with some stuff.
>
> Now, when I look at show log after enabling these features, the "Bug-ID"
> column shows this for that revision
> Bug-ID: Defect # 12432, I did some things with some stuff.
>
> It doesn't detect that there are non-numeric characters in the "Bug-ID"
> even though I have "Bugtraq:number" set to true. Could the log stop
> reading the defect ID if it run into non-numeric characters if
> "bugtraq:number" is set to true? I would be fine with it stopping after
> the space as well, effectively leaving the Bug-ID blank, it just
> stretches out the log window and makes the Bug-ID field very wide when I
> look at one of these old revisions.

As per definition, the BUGID must be on a separate line. Since you have
put your whole BUGID and the log message on the same line, TSVN must
assume that the whole line is the BUGID.
The bugtraq:number property is *only* for entering the ID - it has no
effect when parsing the message in the log dialog.

If you want to have your BUGID inside the log message, use the
bugtraq:regex property.

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 Thu Oct 5 17:22:41 2006

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