tm.status = Status.COMMITFAILED is enough to prevent any commit, but there's no API that I can see for it.
tm.status = Status.COMMITFAILED is enough to prevent any commit, but there's no API that I can see for it.