~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

  • Committer: Martin Pool
  • Date: 2006-03-10 06:29:53 UTC
  • mfrom: (1608 +trunk)
  • mto: This revision was merged to the branch mainline in revision 1611.
  • Revision ID: mbp@sourcefrog.net-20060310062953-bc1c7ade75c89a7a
[merge] bzr.dev; pycurl not updated for readv yet

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
        result = fp.tell()
141
142
        self._pump(f, fp)
 
143
        return result
142
144
 
143
145
    def copy(self, rel_from, rel_to):
144
146
        """Copy the item at rel_from to the location at rel_to"""
267
269
        except (IOError, OSError),e:
268
270
            self._translate_error(e, path)
269
271
 
 
272
 
270
273
class ScratchTransport(LocalTransport):
271
274
    """A transport that works in a temporary dir and cleans up after itself.
272
275