~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/urlutils.py

  • Committer: Wouter van Heyst
  • Date: 2006-06-07 16:05:27 UTC
  • mto: This revision was merged to the branch mainline in revision 1752.
  • Revision ID: larstiq@larstiq.dyndns.org-20060607160527-2b3649154d0e2e84
more code cleanup

Show diffs side-by-side

added added

removed removed

Lines of Context:
188
188
    # TODO: jam 20060426 consider moving this import outside of the function
189
189
    win32_path = bzrlib.osutils._nt_normpath(
190
190
        bzrlib.osutils._win32_abspath(path)).replace('\\', '/')
191
 
    return 'file:///' + win32_path[0].upper() + '|' + escape(win32_path[2:])
 
191
    return 'file:///' + win32_path[0].upper() + ':' + escape(win32_path[2:])
192
192
 
193
193
 
194
194
local_path_to_url = _posix_local_path_to_url