Allocate a new revision walker to iterate through a repo.
pointer to the new revision walker
the repo to walk through
0 on success; error code otherwise