~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/controldir.py

(jelmer) Use the absolute_import feature everywhere in bzrlib,
 and add a source test to make sure it's used everywhere. (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
"""
24
24
 
 
25
from __future__ import absolute_import
 
26
 
25
27
from bzrlib.lazy_import import lazy_import
26
28
lazy_import(globals(), """
27
29
import textwrap
738
740
                return result, urlutils.unescape(a_transport.relpath(url))
739
741
            except errors.NotBranchError, e:
740
742
                pass
 
743
            except errors.PermissionDenied:
 
744
                pass
741
745
            try:
742
746
                new_t = a_transport.clone('..')
743
747
            except errors.InvalidURLJoin: