ZODB.Architecture.Storage Interface.abortVersion

Documentation
Clear any changes made by the given version.
Parameters
TypeNameDefaultDocumentation
VersionStringversion The version to be aborted. This may not be an empty string.
Transactiontransaction  
State-dependent
This method is state dependent. It is an error to call this method if the storage is not committing, or if the given transaction is not the transaction given in the most recent tpc_begin.
Undo
If undo is not supported, then version data may be simply discarded. If undo is supported, however, then the abortVersion operation must be undoable, which implies that version data must be retained.