author | Vadim Gelfer <vadim.gelfer@gmail.com> |
Thu, 30 Mar 2006 19:28:41 -0800 | |
changeset 2027 | 94d3170399e1 |
parent 2026 | 24c604628867 |
child 2028 | 1f1fc418a96c |
--- a/mercurial/appendfile.py +++ b/mercurial/appendfile.py @@ -70,6 +70,7 @@ class appendfile(object): 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()