/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/urlutils.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-02-05 07:38:05 UTC
  • mfrom: (2245.6.3 win32.unc.path)
  • Revision ID: pqm@pqm.ubuntu.com-20070205073805-fe53a1d3e1184c95
(bialix) Fix recursive upwalk for win32 UNC path (r=robert)

Show diffs side-by-side

added added

removed removed

Lines of Context:
405
405
    if not url.endswith('/'):
406
406
        # Nothing to do
407
407
        return url
408
 
    if sys.platform == 'win32' and url.startswith('file:///'):
 
408
    if sys.platform == 'win32' and url.startswith('file://'):
409
409
        return _win32_strip_local_trailing_slash(url)
410
410
 
411
411
    scheme_loc, first_path_slash = _find_scheme_and_separator(url)