/[scripts]/trunk/svn-rt-comment.pl
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Diff of /trunk/svn-rt-comment.pl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 94 by dpavlin, Fri Oct 24 08:04:54 2008 UTC revision 97 by dpavlin, Mon Oct 27 14:57:10 2008 UTC
# Line 11  use RT::Client::REST::Ticket; Line 11  use RT::Client::REST::Ticket;
11  # Request Tracker  # Request Tracker
12  my ( $server, $username, $password ) = ( 'https://bugs.example.com/rt', 'rtuser', 'rtpasswd' );  my ( $server, $username, $password ) = ( 'https://bugs.example.com/rt', 'rtuser', 'rtpasswd' );
13  # patternt to recognize RT references in commits log or diff  # patternt to recognize RT references in commits log or diff
14  my $rt_re = qr/rt\s*#?\s*(\d+)/i;  my $rt_re = qr/\brt\s*#?\s*(\d+)\b/i;
15  my $svnweb_fmt = 'http://svn.example.com/svnweb/index.cgi/%s/revision/?rev=%d';  my $svnweb_fmt = 'http://svn.example.com/svnweb/index.cgi/%s/revision/?rev=%d';
16    
17  die "usage: $0 repo rev\n" unless @ARGV;  die "usage: $0 repo rev\n" unless @ARGV;

Legend:
Removed from v.94  
changed lines
  Added in v.97

  ViewVC Help
Powered by ViewVC 1.1.26