~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

  • Committer: Robert Collins
  • Date: 2005-10-16 22:33:10 UTC
  • mfrom: (1457.1.4)
  • Revision ID: robertc@lifelesslap.robertcollins.net-20051016223310-c4798eb9deb09a7c
Merge start of removal of WorkingTree concepts from Branch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
59
59
    def relpath(self, abspath):
60
60
        """Return the local path portion from a given absolute path.
61
61
        """
62
 
        from bzrlib.branch import _relpath
63
 
        return _relpath(self.base, abspath)
 
62
        from bzrlib.osutils import relpath
 
63
        return relpath(self.base, abspath)
64
64
 
65
65
    def has(self, relpath):
66
66
        return os.access(self.abspath(relpath), os.F_OK)