There are very few dogs that have access to the road and chase me. Most harmlessly chase from the other side of the fence, and perhaps it is more of a game than anything else. I had a Rottweiler (or related) dog that was chasing me once with a squeak from a toy with every step. I usually ignore those with fences, but perhaps miss them if I don't see them the next time past.
The very rare dog that has access to the road, I point to them, and yell "GO HOME" in a very authoritative voice. Sometimes even those that look like they might be coming in my direction (I certainly don't want them to chase me on a busy road).
A month or so ago, I was heading to a turn-around along a dead-end road when a dog gave chase. I yelled and pointed. It went back, sat on the corner of its property, and watched me as I came back past.
I have never thought I needed a dog repellant, and don't carry anything.