monotone changelog: do not add the parents of revisions which have not attached
the branch certificates in question to the horizont, otherwise we end up going up the whole history for some feature branch as soon as we hit the base branch of a project.
This commit is contained in:
parent
bf28a24b72
commit
874b5aa7e9
@ -709,10 +709,10 @@ class IDF_Scm_Monotone extends IDF_Scm
|
||||
$log['commit'] = $rev;
|
||||
|
||||
$logs[] = (object)$log;
|
||||
}
|
||||
|
||||
$out = $this->stdio->exec(array('parents', $rev));
|
||||
$horizont += preg_split("/\n/", $out, -1, PREG_SPLIT_NO_EMPTY);
|
||||
$out = $this->stdio->exec(array('parents', $rev));
|
||||
$horizont += preg_split("/\n/", $out, -1, PREG_SPLIT_NO_EMPTY);
|
||||
}
|
||||
}
|
||||
|
||||
return $logs;
|
||||
|
Loading…
Reference in New Issue
Block a user