FSFS fsfs = SVNAdminHelper.openRepository(repositoryRoot, true);
try {
for (int i = 0; i < transactions.length; i++) {
String txnName = transactions[i];
fsfs.openTxn(txnName);
fsfs.purgeTxn(txnName);
SVNDebugLog.getDefaultLog().logFine(SVNLogType.FSFS, "Transaction '" + txnName + "' removed.\n");
if (myEventHandler != null) {
SVNAdminEvent event = new SVNAdminEvent(txnName, fsfs.getTransactionDir(txnName), SVNAdminEventAction.TRANSACTION_REMOVED);
myEventHandler.handleAdminEvent(event, ISVNEventHandler.UNKNOWN);
}