Resolving issue with set_current_revision not declared