Only thing you have to do is redownload the game from your library. Also your saved file is backed up on your PS+ account.

I upgraded my harddrive to 2TB not to long ago and it was as simple as redownloading the game from your game library.

But to answer your question, no you do not have to repurchase the game.