~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-03 01:15:02 UTC
  • mfrom: (1092.2.28)
  • Revision ID: robertc@robertcollins.net-20051003011502-f579a509a136b774
mergeĀ fromĀ baz2bzr

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
        """Set the base path where files will be stored."""
31
31
        if base.startswith('file://'):
32
32
            base = base[7:]
33
 
        super(LocalTransport, self).__init__(os.path.realpath(base))
 
33
        # realpath is incompatible with symlinks. When we traverse
 
34
        # up we might be able to normpath stuff. RBC 20051003
 
35
        super(LocalTransport, self).__init__(
 
36
            os.path.normpath(os.path.abspath(base)))
34
37
 
35
38
    def should_cache(self):
36
39
        return False