That comes with the caveat that most revolutions happen against failed states. Those pretty much don't get the chance to be violent.
For most revolutions, the state needs to be unable to maintain control over it's populace. The ones where it can still maintain control is where it gets bloody.