pub trait Graph { // Required method fn parents(&self, _: Revision) -> Result<[Revision; 2], GraphError>; }
The simplest expression of what we need of Mercurial DAGs.
Return the two parents of the given Revision.
Revision
Each of the parents can be independently NULL_REVISION
NULL_REVISION