[Zope] Versions

Anthony Baxter Anthony Baxter <anthony@interlink.com.au>
Thu, 02 Sep 1999 19:31:14 +1000


>>> "Phil Harris" wrote
> Versions, wass all dat about den?
> How the hell, once you start working in a version, do you see the contents
> of that version without saving the work done in that version.

Tell someone to go to the url .../versionobj/enter

This will set a cookie.
Then when they view the website, they will see the website that's in the
version.

they should go to .../versionobj/leave

Some other miscellaneous notes on Versions...

The behaviour of Versions is something like using RCS with everyone
checking out the code into a different workspace. That is, only one
person can be modifying any particular object at a time. You can also
only be looking at, or working in, one Version at a time.

A couple of questions I have:

Is it possible to get a list of all objects modified in a Version?
Is it possible to revert changes for a particular object only, rather
than save/discard all changes for a Version?

On a vaguely related note, has anyone thought about doing something 
with XML Export files and diff? It would be kinda cool to be able to 
take 2 daily XML export files, and produce a tree structure listing 
changed objects...

Anthony