~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/urlutils.py

  • Committer: Aaron Bentley
  • Date: 2007-02-16 07:02:19 UTC
  • mfrom: (2292 +trunk)
  • mto: (2255.6.1 dirstate)
  • mto: This revision was merged to the branch mainline in revision 2322.
  • Revision ID: aaron.bentley@utoronto.ca-20070216070219-b22k0gwnisnxawnk
Merged bzr.dev (17 tests failing)

Show diffs side-by-side

added added

removed removed

Lines of Context:
212
212
    #       which actually strips trailing space characters.
213
213
    #       The worst part is that under linux ntpath.abspath has different
214
214
    #       semantics, since 'nt' is not an available module.
215
 
    win32_path = osutils._nt_normpath(
216
 
        osutils._win32_abspath(path)).replace('\\', '/')
 
215
    win32_path = osutils._win32_abspath(path)
217
216
    # check for UNC path \\HOST\path
218
217
    if win32_path.startswith('//'):
219
218
        return 'file:' + escape(win32_path)