revert

Drops current changes and switches back to the saved state.