Implement unlimited revisit (set --revisit to -1)