[Zope-CVS] SVN: zversioning/trunk/src/versioning/README.txt
another(4) intermediate version
Grégoire Weber
zope.org at incept.ch
Wed Oct 13 10:33:40 EDT 2004
Log message for revision 28083:
another(4) intermediate version
Changed:
U zversioning/trunk/src/versioning/README.txt
-=-
Modified: zversioning/trunk/src/versioning/README.txt
===================================================================
--- zversioning/trunk/src/versioning/README.txt 2004-10-13 14:15:14 UTC (rev 28082)
+++ zversioning/trunk/src/versioning/README.txt 2004-10-13 14:33:39 UTC (rev 28083)
@@ -2,8 +2,8 @@
Versioning
==========
-Setup Stuff
------------
+General Setup Stuff
+-------------------
In the following we take a simple folder tree with the following structure
as an example :
@@ -22,7 +22,6 @@
>>> from zope.app.tests.setup import setUpTraversal
>>> from zope.app.traversing.interfaces import IPhysicallyLocatable
>>> from ZODB.tests import util
- >>> from zope.app.versioncontrol.interfaces import IVersioned
>>> registerAdapter()
>>> setUpTraversal()
>>> class TestFolder(Folder) :
@@ -126,11 +125,10 @@
>>> repository.applyVersionControl(a)
>>> repository.applyVersionControl(b)
>>> repository.applyVersionControl(c)
- >>> [IVersioned.providedBy(x) for x in (sample, a, b, c)]
+ >>> [interfaces.IVersioned.providedBy(x) for x in (sample, a, b, c)]
[True, True, True, True]
- >>> [x for x in sample.keys()]
- [u'a', u'b']
+ >>>
>>> def accessVersion(repository, obj) :
... info = repository.getVersionInfo(obj)
More information about the Zope-CVS
mailing list