~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/urlutils.py

  • Committer: John Arbash Meinel
  • Date: 2011-08-09 14:18:05 UTC
  • mto: (6015.9.8 2.4)
  • mto: This revision was merged to the branch mainline in revision 6066.
  • Revision ID: john@arbash-meinel.com-20110809141805-9lq771mvpsukl0pe
Catch a couple more cases that test tag fetching.

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
 
25
from posixpath import split as _posix_split, normpath as _posix_normpath
26
26
import urllib
27
27
import urlparse
28
28
 
200
200
    """
201
201
    # importing directly from posixpath allows us to test this
202
202
    # on non-posix platforms
203
 
    return 'file://' + escape(osutils._posix_abspath(path))
 
203
    return 'file://' + escape(_posix_normpath(
 
204
        osutils._posix_abspath(path)))
204
205
 
205
206
 
206
207
def _win32_local_path_from_url(url):