Bears and pigs have a very keen senses of smell and I would hazard a guess that the spray would have similar effects on the porkers. I saw some at a distance in the Smokies, and saw lots of their damage. Not good critters in the least. I've had enough trouble with domestic hogs to know they are nothing to mess with. Your dog's scent may be a deterrent.
_________________________
Charlie