~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/urlutils.py

  • Committer: Patch Queue Manager
  • Date: 2011-10-06 08:09:14 UTC
  • mfrom: (6191.1.1 trunk)
  • Revision ID: pqm@pqm.ubuntu.com-20111006080914-364iz1580zxvpxtm
(vila) Merge 2.4 into trunk resolving conflicts (Vincent Ladeuil)

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
 
23
23
from bzrlib.lazy_import import lazy_import
24
24
lazy_import(globals(), """
25
 
from posixpath import split as _posix_split, normpath as _posix_normpath
 
25
from posixpath import split as _posix_split
26
26
import urllib
27
27
import urlparse
28
28
 
201
201
    """
202
202
    # importing directly from posixpath allows us to test this
203
203
    # on non-posix platforms
204
 
    return 'file://' + escape(_posix_normpath(
205
 
        osutils._posix_abspath(path)))
 
204
    return 'file://' + escape(osutils._posix_abspath(path))
206
205
 
207
206
 
208
207
def _win32_local_path_from_url(url):