8 Aug
2006
8 Aug
'06
4:57 p.m.
beno wrote at 2006-8-7 15:19 -0400:
How do I undo the last change I made in Zope from the server itself?
You already know how to "open" a ZODB in an interactive Python interpreter? If not, there is a HowTo around... You find the remaining things in the class "App.Undo.UndoSupport", especially the methods "undoable_transactions" and "manage_undo_transactions". The "transaction_info" parameter to "manage_undo_transactions" is a sequence of "tid"s where the "tid" stands for "transaction id" is is given by the "id" key in the result of "undoable_transactions". -- Dieter