On Mon, 4 Mar 2002 11:11:55 -0500
 Andrew Sydelko <[EMAIL PROTECTED]> wrote:
> On Monday 04 March 2002 11:08, you wrote:
> > On Mon, 4 Mar 2002 11:01:22 -0500
> 
> >
> > A low-level way to get a list of versions is to call
> the
> >
> > versions() method on the storage object.  Example:
> > >>> from ZEO.ClientStorage import ClientStorage
> > >>> cs = ClientStorage(...) # your server address here
> > >>> cs.versions()

If you wait a second or two, the client should connect.

To actually, do something:
>>> import ZODB
>>> db = ZODB.DB(cs)
>>> cs.versions()
# pick a version
>>> db.abortVersion(name)
>>> get_transaction().commit()

Jeremy

_______________________________________________
Zope-Dev maillist  -  [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope )

Reply via email to