[Rt-commit] [svn] r1105 - in RT-Integration-SVN: . html/SVN
alexmv at pallas.eruditorum.org
alexmv at pallas.eruditorum.org
Thu Jun 17 18:23:23 EDT 2004
Author: alexmv
Date: Thu Jun 17 18:23:23 2004
New Revision: 1105
Modified:
RT-Integration-SVN/README
RT-Integration-SVN/html/SVN/PullUpdate.html
Log:
* Add RT-Action as an alias for RT-Update
* Update docs to be a little more thorough
Modified: RT-Integration-SVN/README
==============================================================================
--- RT-Integration-SVN/README (original)
+++ RT-Integration-SVN/README Thu Jun 17 18:23:23 2004
@@ -39,6 +39,10 @@
commits between repositories and want to track commit history across multiple
RT instances.
+The other recognized commands are RT-Status and RT-Update. RT-Action
+is an alias for RT-Update, if preferred. Commands are
+case-insensitive and may occur in any order, at any point in the
+commit message.
A couple simple examples:
Modified: RT-Integration-SVN/html/SVN/PullUpdate.html
==============================================================================
--- RT-Integration-SVN/html/SVN/PullUpdate.html (original)
+++ RT-Integration-SVN/html/SVN/PullUpdate.html Thu Jun 17 18:23:23 2004
@@ -49,7 +49,7 @@
my $update_type = 'comment';
my $update_status = '';
foreach my $line (@msg) {
- if ( $line =~ /^\s*RT-Ticket: (\w*?)(?:\#?)(\d*)/ ) {
+ if ( $line =~ /^\s*RT-Ticket:\s*(\w*?)(?:\#?)(\d*)/ ) {
next if ($1 && $1 !~ /^$RT::rtname$/i);
$ticket = RT::Ticket->new($user);
$ticket->Load($2);
@@ -57,7 +57,7 @@
elsif ( $line =~ /^\s*RT-Status:\s*(\w+)/i ) {
$update_status = lc($1);
}
- elsif ( $line =~ /^\s*RT-Update:\s*(comment|correspond)/i ) {
+ elsif ( $line =~ /^\s*RT-(?:Update|Action):\s*(comment|correspond)/i ) {
$update_type = lc($1);
}
else {
More information about the Rt-commit
mailing list