~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

Merge from unique-root

Show diffs side-by-side

added added

removed removed

Lines of Context:
2850
2850
        from bzrlib.transport import get_transport
2851
2851
        if directory is None:
2852
2852
            directory = os.getcwd()
2853
 
        url = 'file://' + urlutils.escape(directory)
 
2853
        url = urlutils.local_path_to_url(directory)
2854
2854
        if not allow_writes:
2855
2855
            url = 'readonly+' + url
2856
2856
        t = get_transport(url)