[Zope-dev] Re: [Zope-Checkins] CVS: Packages/ZODB - FileStorage.py:1.135.6.9

2005-07-06 Thread Chris Withers

O... 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.pyTue 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

___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Re: [Zope-Checkins] CVS: Packages/ZODB - FileStorage.py:1.135.6.9

2005-07-06 Thread Tim Peters
[Chris Withers]
 O... 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)
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )