SVK::Editor::TxnCleanup(3pm)

SVK::Editor::TxnCleanup3pm

An editor that aborts a txn when it is aborted

Usage

 my $editor = ...
 # stack the txn cleanup editor on
 $editor = SVK::Editor::TxnCleanup-> (_editor => [$editor], txn => $txn );
 # ... do some stuff ...
 $editor->abort_edit;
 # $txn->abort gets called.

From svk 2.0.2-3 in Debian 5.0 (Lenny). Parsed by carta from the page's man source.