- (commits-fold kons knil repository #!key [initial] [hide] [sort]) => objectprocedure
Folds over the given repository's commits. If an initial commit or SHA1 is given, only commits that are ancestors of that revision will be returned. If a list of revisions to hide is given, they and their ancestors will be ignored. If a sort order is specified, commits will be collected in the given order; this sort order must be one of the symbols none, topo, time or reverse, or a list of such symbols.