~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/knit.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-05-12 23:48:49 UTC
  • mfrom: (1704.2.13 bzr.mbp.integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060512234849-259ff209fff58489
(mbp) various fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
290
290
        self._data = _KnitData(transport, relpath + DATA_SUFFIX,
291
291
            access_mode, create=create and not len(self), file_mode=file_mode)
292
292
 
 
293
    def __repr__(self):
 
294
        return '%s(%s)' % (self.__class__.__name__, 
 
295
                           self.transport.abspath(self.filename))
 
296
    
293
297
    def _add_delta(self, version_id, parents, delta_parent, sha1, noeol, delta):
294
298
        """See VersionedFile._add_delta()."""
295
299
        self._check_add(version_id, []) # should we check the lines ?