Think on...
The catch is that Gandhi only "won" because another minor incident - WW2 - had destroyed Britain's abilities to hold on to its empire. And his "victory" resulted in Partition, a dreadful civil war still rumbling on in Kashmir, a second civil war in Bangladesh, and two nuclear armed states in a faceoff.
Gandhi is not somebody I would willingly cite when it comes to the benefits of pacifism, or indeed on any political subject.