- $res = $this->impl()->history('.', array('since'=> '{'.$start.'}' , 'before' => '{'.$end .'}'), 'rev', '--all');
-
- $branches = array();
- foreach($res as $r) {
- if (!preg_match('#^refs/heads/.*$#', $r->branch)) {
- continue;
- }
- $br = preg_replace('#^refs/heads/.*$#', $r->branch, '');
- $branches[$br] = 1;
-
- }
- $objs = array();
- foreach($branches as $branch=>$one) {
-
-
- $res = $this->impl()->history('.', array('since'=> '{'.$start.'}' , 'before' => '{'.$end .'}'), $object, $branch);
-
- // find the last rev the day before...
-
-
-
- $obj = $this->historyToSummary($res, $notify->act_start);
- if (!$obj) {
- // echo "History returned nothing";
- return true;
- }
- $obj->from_dt = $start;
- $obj->to_dt = $end;
- $obj->branch = $br;
- //print_r($obj);exit;