Index: trunk/tools/roboczar.pl
===================================================================
--- trunk/tools/roboczar.pl	(revision 28786)
+++ trunk/tools/roboczar.pl	(revision 28831)
@@ -134,7 +134,7 @@
 
             $server = $pantasks->getServerForThisStage($stage);
-            $str = `czartool_revert.pl -s $server -t $stage`;
-            if ($str =~ m/on/) {$reverting = 1;}
-            else {$reverting = 0;}
+            $pantasks->getRevertStatus($stage, \$reverting);
+            $czarDb->updateRevertStatus($stage, $reverting);
+
             print "* Checking labels for $stage stage\n";
 
@@ -154,9 +154,9 @@
                 $totalFaults += $faults;
 
-                $czarDb->insertNewTimeData($stage, $label, $new, $full, $faults, $reverting);
+                $czarDb->insertNewTimeData($stage, $label, $new, $full, $faults);
                 $czarplot->createTimeSeries($label,  $stage, $begin, $end);
             }
 
-            $czarDb->insertNewTimeData($stage, "all_labels", $totalNew, $totalFull, $totalFaults, $reverting);
+            $czarDb->insertNewTimeData($stage, "all_labels", $totalNew, $totalFull, $totalFaults);
         }
 
