[Rt-commit] r19401 - in rt/3.8/trunk: .

falcone at bestpractical.com falcone at bestpractical.com
Fri May 1 16:42:40 EDT 2009


Author: falcone
Date: Fri May  1 16:42:39 2009
New Revision: 19401

Modified:
   rt/3.8/trunk/   (props changed)
   rt/3.8/trunk/lib/RT/Handle.pm

Log:
 r47145 at ketch:  falcone | 2009-05-01 16:32:05 -0400
 * if you're running trunk, which is 3.x.HEAD, be helpful
   find all the lower versions 


Modified: rt/3.8/trunk/lib/RT/Handle.pm
==============================================================================
--- rt/3.8/trunk/lib/RT/Handle.pm	(original)
+++ rt/3.8/trunk/lib/RT/Handle.pm	Fri May  1 16:42:39 2009
@@ -549,6 +549,7 @@
 
 sub cmp_version($$) {
     my ($a, $b) = (@_);
+    $b =~ s/HEAD$/9999/;
     my @a = split /[^0-9]+/, $a;
     my @b = split /[^0-9]+/, $b;
     for ( my $i = 0; $i < @a; $i++ ) {


More information about the Rt-commit mailing list