I have heard from many Orthodox that one should repent of *any* act of violence, including violence committed in self-defense or in the service of military duties.

As I understand it, true repentance includes a genuine belief that facing the same situation again, one would act differently.

How can this be squared with the church's non-pacifism? The church plainly is not pacifistic and has recognized in several places the unfortunate need for violence in this world.

For Catholics there is no inconsistency, for one doesn't repent of just violence. But this seems to be a problem for the Orthodox, at least from my reading. How does Orthodox Theology resolve this apparent contradiction/paradox?