Change move to handle empty changelists and check shelved files before revert.