Undo Commit

Command line:
tlapi ‑cUNCOMMIT sPart
Library call:
nStatus = TLuncommit (sPart)
Scripting call:
nStatus = UndoCommit ()

Function

Restore the current partition published phase as the current partition update phase, reversing the effect of an earlier call to Commit.

Arguments

sPart

The path of the partition to have commit reversed. The scripting call uses the Partition property to determine the partition.

For additional command line arguments see “Common Flag Arguments”.

Notes

Undo Commit can only be called if there is no current partition update phase. You cannot uncommit a partition published phase if you have created a new update phase using Next Update.

Examples

Command line:

tlapi ‑cUNCOMMIT manuals/topix/volume1

Library call:

status = TLuncommit("manuals/topix/volume1");

Scripting call:

status = topleaf.UndoCommit();