</BUG>
if (commitId == null) {
break;
}
<BUG>commit = rep.getCommit(commitId);
</BUG>
}
} catch (Exception e) {
throw new MicroKernelException(e);
}

StoredCommit commit = rep.getHeadCommit();
while (commit != null
&& history.size() < maxEntries
&& commit.getCommitTS() >= since) {
history.add(commit);
Id commitId = commit.getParentId();
if (commitId == null) {
break;
}
commit = rep.getCommit(commitId.toString());
}
} catch (Exception e) {
throw new MicroKernelException(e);
}
