Reverting will only result in a revision id if actual changes has been made. Fixes #52