OSSP CVS Repository

ossp - Difference in ossp-pkg/shiela/shiela.pl versions 1.41 and 1.42
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [History

ossp-pkg/shiela/shiela.pl 1.41 -> 1.42

--- shiela.pl    2002/12/23 11:21:42     1.41
+++ shiela.pl    2002/12/23 11:32:05     1.42
@@ -1293,7 +1293,7 @@
 ##
 ##  VERIFYMSG HOOK
 ##
-##  We hook into CVS via `verifymsg' to post-process log messages.
+##  We hook into CVS via `commitinfo' to post-process log messages.
 ##  The intention is to sanitise the results of what the user may have
 ##  `done' while editing the commit log message. If CVS is a standard
 ##  version, this check is advisory only. If CVS contains the RSE
@@ -1512,7 +1512,10 @@
 
     #   if we are using a stock CVS version, we have to determine
     #   extra information (which an RSE CVS version would provide).
-    if (not $RT->{cvsrse} and not $RT->{cvsop} eq 'import') {
+    if (    (   (    defined($cvsinfo[0]) 
+                 and $cvsinfo[0] =~ m|^([^,]+),([^,]+),([^,]+)$|)
+             or not $RT->{cvsrse}                                )
+        and not $RT->{cvsop} eq 'import'                          ) {
 
         #   parse CVS commit information
         my $tag = 'HEAD';

CVSTrac 2.0.1