Add utility to find commit intervals

Review Request #7325 — Created May 21, 2015 and submitted — Latest diff uploaded

Information

Review Board
dvcs
93d2b38...

Reviewers

A commit interval (A, B] contains all the commits after A that lead
to B. That is, they are all the descendants of A that are ancestors
of B. This can now be computed via the get_commit_interval utility
method. Unit tests have been added to test various cases.

Ran unit tests.