diff mercurial/changelog.py @ 5450:c728424d44c6

revlog: fix caching of buffer objects
author Matt Mackall <mpm@selenic.com>
date Thu, 11 Oct 2007 00:46:53 -0500
parents d1bee415406e
children
line wrap: on
line diff
--- a/mercurial/changelog.py
+++ b/mercurial/changelog.py
@@ -74,7 +74,7 @@ class appender:
         return ret
 
     def write(self, s):
-        self.data.append(s)
+        self.data.append(str(s))
         self.offset += len(s)
 
 class changelog(revlog):