~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

- improved handling of non-ascii branch names and test
  patch from Joel Rosdahl

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
 
19
19
from bzrlib.transport import Transport, register_transport, \
20
20
    TransportError, NoSuchFile, FileExists
 
21
from bzrlib.osutils import abspath
21
22
import os, errno
22
23
 
23
24
class LocalTransportError(TransportError):
33
34
        # realpath is incompatible with symlinks. When we traverse
34
35
        # up we might be able to normpath stuff. RBC 20051003
35
36
        super(LocalTransport, self).__init__(
36
 
            os.path.normpath(os.path.abspath(base)))
 
37
            os.path.normpath(abspath(base)))
37
38
 
38
39
    def should_cache(self):
39
40
        return False