[Zope-dev] Versions (still)

R. David Murray bitz@bitdance.com
Tue, 23 Oct 2001 18:09:03 -0400 (EDT)


On Tue, 23 Oct 2001, Andy McKay wrote:
> and got into ZODB stuff I didnt understand. I would have thought having a
> little refactoring to give two more methods: getVersionContents and
> commitObject would be possible, but Im scratching my head at FileStorage
> now.

To my understanding, versions are implemented as long running transactions
against the ZODB.  So I think to do anything with them you have to put in
hooks at the level of the ZODB transaction machinery.  That might have some
interesting byproducts if you were to do it <grin>.  The zodb-dev list
is probably the place to inquire....

---RDM