tick(100);
final RevCommit e = commit(d);
{
RevFilter after = CommitTimeRevFilter.after(since);
assertNotNull(after);
rw.setRevFilter(after);
markStart(e);
assertCommit(e, rw.next());
assertCommit(d, rw.next());
assertCommit(c2, rw.next());
assertCommit(c1, rw.next());
assertNull(rw.next());
}
{
RevFilter before = CommitTimeRevFilter.before(until);
assertNotNull(before);
rw.reset();
rw.setRevFilter(before);
markStart(e);
assertCommit(c2, rw.next());
assertCommit(c1, rw.next());
assertCommit(b, rw.next());
assertCommit(a, rw.next());
assertNull(rw.next());
}
{
RevFilter between = CommitTimeRevFilter.between(since, until);
assertNotNull(between);
rw.reset();
rw.setRevFilter(between);
markStart(e);
assertCommit(c2, rw.next());