~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/builtins.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2006-09-27 19:21:18 UTC
  • mfrom: (2045.1.2 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060927192118-9930ffc4445f28ae
[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)