~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: John Arbash Meinel
  • Date: 2006-09-27 19:11:06 UTC
  • mfrom: (2044.2.1 bzr.win32-serve)
  • mto: This revision was merged to the branch mainline in revision 2046.
  • Revision ID: john@arbash-meinel.com-20060927191106-a5f1ef634f82f1a1
[merge] Lukáš Lalinský: fix 'bzr serve' for win32

Show diffs side-by-side

added added

removed removed

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