~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Aaron Bentley
  • Date: 2006-09-28 01:53:23 UTC
  • mfrom: (2049 +trunk)
  • mto: (1731.2.8 nested-trees)
  • mto: This revision was merged to the branch mainline in revision 2078.
  • Revision ID: aaron.bentley@utoronto.ca-20060928015323-4e7367532c857e87
Merge from bzr.dev

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)