Add revwalk support