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

Re: Bug with "Recent messages" after merge

From: Stefan Küng <tortoisesvn_at_gmail.com>
Date: Mon, 02 Apr 2012 20:14:14 +0200

On 02.04.2012 11:01, Maksim Korneichik wrote:
> There is bug connected with issue tracker integration in Input Field mode.
>
> I've set property: bugtraq:message = JIRA: %BUGID%
>
> When I commit a change, I input a BUGID and it is stored at a last line of log message.
> Then I merge my change onto another branch.
> After merging in a commit window I use a "Recent messages" button, and there a log message is ready for me
>
> "Merged revision(s) 17604 from BRS/Source:
> << my log message>>
> JIRA:<<my BUGID>>
> "
> But a field for typing BUDIG remains empty.
> If I commit without filling this field, a log message contains my BUGID, but in Show Log a column with BUGIDs doesn't show my BUGID.

The merge message is constructed and contains the messages of *all*
merged revisions.
That's why that message has a newline at the end inserted and a 'break'
string to separate the messages. And that's also why the BUGID isn't
filled in: it's not on the last (or first) line of the message and
therefore wouldn't be recognized by the hook script either.

Stefan

-- 
        ___
   oo  // \\      "De Chelonian Mobile"
  (_,\/ \_/ \     TortoiseSVN
    \ \_/_\_/>    The coolest Interface to (Sub)Version Control
    /_/   \_\     http://tortoisesvn.net
------------------------------------------------------
http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=757&dsMessageId=2943775
To unsubscribe from this discussion, e-mail: [dev-unsubscribe_at_tortoisesvn.tigris.org].
Received on 2012-04-02 20:14:24 CEST

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