get_descendant_of


Description:

public bool get_descendant_of (OId commit, OId ancestor) throws Error

Check whether com mit is a descendant of ancestor.

Note that if this function returns false, an error might have occurred. If so, throws will be set appropriately.

Parameters:

this

a Repository.

commit

the commit.

ancestor

the ancestor.

Returns:

true if commit is a descendant of ancestor, or false otherwise.