ObjectWalk ow = new ObjectWalk(repo);
try {
srcRevCommit = getCommit(srcRev, ow);
dstRevCommit = getCommit(dstRev, ow);
} finally {
ow.release();
}
if (this.dstRevCommit != null && this.srcRevCommit != null)
this.ancestorRevCommit = getCommonAncestor(repo, this.srcRevCommit,
this.dstRevCommit);