I don't hate hills, but they certainly are a major challenge for me too. This is how I get up them.
In my head I just keep whispering:
****, ****, ****, ****, ****,
I swear. I know it's ridiculous, but it actually works.
Then if it's a really long hill, I occasionally switch to:
this is for your butt, this is for your butt, this is for your butt

What can I say, reciting the magna carta just doesn't come to mind when every ounce of energy is put towards the hill and there is absolutely nothing left to even think with.