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.
master
Thomas Keller 2010-12-02 23:23:38 +01:00
parent bf28a24b72
commit 874b5aa7e9
1 changed files with 3 additions and 3 deletions

View File

@ -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;