RE: [ZODB-Dev] multi-level undo on a single object

2005-08-30 Thread Tim Peters
[Arthur Peters] > Thanks you very much. Hey, we're both named Peters -- you're probably the son I never knew (or vice versa ;-)) > I'm still having issues but I'll investigant it myself before I ask > anything else. I think I came across as pushy and demanding and I'm > sorry. I didn't mean to. I

RE: [ZODB-Dev] multi-level undo on a single object

2005-08-30 Thread Arthur Peters
Thanks you very much. I'm still having issues but I'll investigant it myself before I ask anything else. I think I came across as pushy and demanding and I'm sorry. I didn't mean to. I just ment this as questions and ideas. You know ZODB much better than I and I'll go for a app-level implementati

RE: [ZODB-Dev] multi-level undo on a single object

2005-08-30 Thread Tim Peters
[Arthur Peters] > I want to do the following: commit a change to an object, then commit > another. Now I want to undo the second change. Easy: get the tid using > undoLog and call undo(tid, transaction.get()). Now the following > transactions are in the DB: > > - Change 1 > - Change 2 > - Undo chan

Re: [ZODB-Dev] multi-level undo on a single object

2005-08-30 Thread Chris Withers
Arthur Peters wrote: Probably the easiest way to provide this functionality would be to implement a kind of undo that undoes all transactions back to a given point. Zope's management interface certainly lets you do this, might be good if you poked under the hood there to see how it's done...