[rt-users] SVN Integration

Dário Luís Coneglian Oliveros oliveros at cpqd.com.br
Wed Mar 15 07:37:05 EST 2006


Hi Michael,

Thanks for your help. It did work when providing just the ticket number.
It seems like the regular expression (see code below) is not handling
<rt-name>#<ticket-number> properly.

PullUpdate.html
54    if ( $line =~ /^\s*RT-Ticket:\s*(\w*?)(?:\#?)(\d*)/ ) {
55        next if ($1 && $1 !~ /^$RT::rtname$/i);

Thanks,
Dário

On Tue, 2006-03-14 at 16:52 -0500, Michael S. Liebman wrote:

> On Tue, Mar 14, 2006 at 06:02:11PM -0300, D?rio Lu?s Coneglian Oliveros wrote:
> > I noticed that the piece of code inside the statement if ( $ticket &&
> > $ticket->id ) { ... } (line 77) is never executed.
> > Please see below some of my settings.
> > 
> > SVN comment
> > RT-Ticket: rt#2
> > RT-Status: resolved
> > RT-Update: comment
> 
> It's been a while since I looked at this, but, if I remember
> correctly, the <rtname>#<ticketnum> format didn't work. Did you try
> just "RT-Ticket: 2"?
> 
> Michael
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20060315/284539a0/attachment.htm>


More information about the rt-users mailing list