[Zope] Versioned connectors from ZODB

Etienne Labuschagne elabuschagne at gmail.com
Mon Jul 11 06:32:33 EDT 2005


If I get a versioned connection from the ZODB:

conn = Zope.DB.open(version="myVersion")
root = conn.root()
app = root['Application']

# do some stuff

get_transaction().commit()
conn.close()

Are the changes now in a version?  How do I get those changes rolled
into the "trunk" version of the ZODB?  I guess all objects changed in
the version will now be "locked" to that version until I apply the
version changes to the trunk?

Thanks
Etienne


More information about the Zope mailing list