~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-08 00:37:41 UTC
  • mfrom: (1594.2.4 integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060308003741-08afccbf89005e87
Merge in :
 * Knit repositories use knits
 * Nested progress bar support.
 * Ghost aware graph api.

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