Navigation: Developing Apps > BINETIX® AGE™ API > Plugins > Version Control Manager > Modules > vcs_txn
rollback/2
Description
rollback/2 is an Erlang function exported by "" module.
Commence a roll-back action by specified transaction ID.
References
•Headers
Parameters
Name
Type
Repository
atom()
Repository ID.
Transaction
string()
Transaction ID.
Result
Value or Type
{ok, []}
On success.
Code Sample
> vcs_txn:start(test).
{txn_id, "4-5"}
> vcs_txn:rollback(test, "4-5").