cvs-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Cvs-cvs] Changes to ccvs/contrib/log_accum.in


From: Derek Robert Price
Subject: [Cvs-cvs] Changes to ccvs/contrib/log_accum.in
Date: Thu, 06 Oct 2005 14:35:26 -0400

Index: ccvs/contrib/log_accum.in
diff -u ccvs/contrib/log_accum.in:1.15 ccvs/contrib/log_accum.in:1.16
--- ccvs/contrib/log_accum.in:1.15      Thu Oct  6 18:26:10 2005
+++ ccvs/contrib/log_accum.in   Thu Oct  6 18:35:25 2005
@@ -275,7 +275,7 @@
         $delta = "";
         $rcsfile = "$update_dir/$file";
 
-        if ($oldrev{$file} ne 'NONE') {
+        if ($oldrev{$file}) {
             open(RCS, "-|") || exec "$cvsbin/cvs", '-Qn', 'log',
                                    "-r$newrev{$file}",
                                    '--', $file;
@@ -346,8 +346,9 @@
            }
         }
 
-        &append_line($out, sprintf("%-9s%-12s%s%s", $newrev{$file}, $delta,
-                                   $rcsfile, $diff));
+        &append_line($out, sprintf("%-9s%-12s%s%s",
+                                  $newrev{$file} ? $newrev{$file} : "dead",
+                                  $delta, $rcsfile, $diff));
     }
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]