mercurial/appendfile.py
changeset 2027 94d3170399e1
parent 2010 db1eb0de286a
child 2075 343aeefb553b
--- a/mercurial/appendfile.py	Thu Mar 30 18:35:52 2006 -0800
+++ b/mercurial/appendfile.py	Thu Mar 30 19:28:41 2006 -0800
@@ -70,6 +70,7 @@
 
     def write(self, s):
         '''append to temp file.'''
+        self.tmpfp.seek(0, 2)
         self.tmpfp.write(s)
         # all writes are appends, so offset must go to end of file.
         self.offset = self.fpsize + self.tmpfp.tell()