~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/__init__.py

Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
403
403
        This function will only be defined for Transports which have a
404
404
        physical local filesystem representation.
405
405
        """
406
 
        # TODO: jam 20060426 Should this raise NotLocalUrl instead?
407
 
        raise errors.TransportNotPossible('This is not a LocalTransport,'
408
 
            ' so there is no local representation for a path')
 
406
        raise errors.NotLocalUrl(self.abspath(relpath))
409
407
 
410
408
    def has(self, relpath):
411
409
        """Does the file relpath exist?