~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-03-31 00:43:21 UTC
  • mfrom: (1551.2.51 win32fixes)
  • Revision ID: pqm@pqm.ubuntu.com-20060331004321-2171d32febcbfe4d
Various fixes for win32

Show diffs side-by-side

added added

removed removed

Lines of Context:
138
138
            fp = open(self.abspath(relpath), 'ab')
139
139
        except (IOError, OSError),e:
140
140
            self._translate_error(e, relpath)
 
141
        # win32 workaround (tell on an unwritten file returns 0)
 
142
        fp.seek(0, 2)
141
143
        result = fp.tell()
142
144
        self._pump(f, fp)
143
145
        return result