--- Revision log iterator.
--  This class is used for iterating over a given revision range.
--  Use pepper.repository:iterator to construct a revision iterator.

module "pepper.iterator"


--- Returns the next revision, or <code>nil</code> if there are no more revisions.
function next()

--- Returns a Lua iterator for the remaining revision ids.
function revisions()

--- Calls <code>callback</code> for all remaining revisions.
--  @param callback The callback function
function map(callback)
