module documentation
General implementation of walking commits and their contents.
Class |
|
Object encapsulating a single result from a walk. |
Class |
|
Object for performing a walk of commits in a store. |
Constant | ALL |
Undocumented |
Constant | ORDER |
Undocumented |
Constant | ORDER |
Undocumented |
Class | _ |
Priority queue of WalkEntry objects by commit time. |
Function | _topo |
Reorder an iterable of entries topologically. |
Constant | _MAX |
Undocumented |
Reorder an iterable of entries topologically.
This works best assuming the entries are already in almost-topological order, e.g. in commit time order.
- Returns: iterator over WalkEntry objects from entries in FIFO order, except
- where a parent would be yielded before any of its children.
Parameters | |
entries | An iterable of WalkEntry objects. |
get | Optional function for getting the parents of a commit. |