if (empty($hist)) {
return; // an error conditon!?!
}
- $this->rev = $hist[0]->rev;
+ $this->rev = $hist[0]->rev;
+ if (count($hist) < 100) {
+ $this->offset = 0;
+ }
// code here...
// repo has a 'release' branch, this should be used to track what needs
// merging from 'HEAD' to update it
$last_day = $day;
$M = array();
- if (preg_match('/#([0-9]+)\s+/', $h->changelog, $M)) {
+ // if (preg_match('/#([0-9]+)\s+/', $h->changelog, $M)) {
- $h->ticket = MTrackIssue::loadByNSIdent($M[1]) ;
+ // $h->ticket = MTrackIssue::loadByNSIdent($M[1]) ;
// ticket->status == closed == ok to commit to another branch...
// echo '<PRE>'; print_r($h->ticket);
- }
+ // }