//print_r($last);exit;
$body = '';
-
+ $len = 0;
foreach($obj->summary as $file=>$who) {
$res = $this->impl()->diff($file, $last ? $last->rev : $first->rev, $last ? $first->rev : null);
//print_r($res);
//$lines = $this->parseDiff($res);
$lines = stream_get_contents($res);
+ $len += strlen($lines);
+ if ($len > 2000000) {
+ $lines = "Too large see repo";
+ }
if (preg_match('/\.map$/', $file)) {
$lines = "Changed";
// find the last rev the day before...
-
+
$obj = $this->historyToSummary($res, $notify->act_start);
if (!$obj) {
// echo "History returned nothing";