A prayer we are often asked to say in the Confessional ends with:
"I firmly intend, with the help of your grace, to sin no more and avoid the near occasion of sin."
I remember cringing when I would say that, because of the "sin no more" part. But, you are right, repentance includes amendment of life.