[][src]Module hg::dagops

Miscellaneous DAG operations

Terminology

  • By relative heads of a collection of revision numbers (Revision), we mean those revisions that have no children among the collection.
  • Similarly relative roots of a collection of Revision, we mean those whose parents, if any, don't belong to the collection.

Functions

heads

Relative heads out of some revisions, passed as an iterator.

retain_heads

Retain in revs only its relative heads.