Correct slashes on windows for revert command