I would not say that he "repented"; he acknowledged that he was a sinner (part of the whole that is repentance). Further, having recognized that Jesus was innocent and a king, asked a favour of the king, and in so doing, demonstrated that he believed that Jesus would be resurrected.