Re: [Zope-Checkins] CVS: Packages/ZODB - FileStorage.py:1.135.6.9
Ooooo... is this surfaced through the Zope undo tab? Chris Tim Peters wrote:
Update of /cvs-repository/Packages/ZODB In directory cvs.zope.org:/tmp/cvs-serv29971/ZODB
Modified Files: Tag: Zope-2_7-branch FileStorage.py Log Message: UndoSearch._readnext(): Add the transaction size to the return value.
=== Packages/ZODB/FileStorage.py 1.135.6.8 => 1.135.6.9 === --- Packages/ZODB/FileStorage.py:1.135.6.8 Mon Feb 28 16:20:41 2005 +++ Packages/ZODB/FileStorage.py Tue Jun 14 16:46:32 2005 @@ -2374,6 +2374,7 @@ d = {'id': base64.encodestring(tid).rstrip(), 'time': TimeStamp(tid).timeTime(), 'user_name': u, + 'size': u64(tl), 'description': d} d.update(e) return d
_______________________________________________ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins
-- Simplistix - Content Management, Zope & Python Consulting - http://www.simplistix.co.uk
[Chris Withers]
Ooooo... is this surfaced through the Zope undo tab?
Try it. I'm sure that was Dieter's intent: http://mail.zope.org/pipermail/zodb-dev/2003-October/006157.html ,,,' The patch also enhances "FileStorage" and lets its "UndoSearch._readnext" provide information about the transaction size. This is very valuable when you want to spot strange transaction sizes via Zope's "Undo" tab (much more convenient than "fsdump")
participants (2)
-
Chris Withers -
Tim Peters