~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

  • Committer: Aaron Bentley
  • Date: 2005-10-04 04:32:32 UTC
  • mfrom: (1185.12.6)
  • mto: (1185.12.13)
  • mto: This revision was merged to the branch mainline in revision 1419.
  • Revision ID: aaron.bentley@utoronto.ca-20051004043231-40302a149769263b
merged my own changes

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