/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: 2006-06-16 16:10:29 UTC
  • mfrom: (1711.2.50 jam-integration)
  • Revision ID: pqm@pqm.ubuntu.com-20060616161029-6e8fbba7b83a5c5d
(jam) Fixes for urlutils.join() and get_parent() compatibility

Show diffs side-by-side

added added

removed removed

Lines of Context:
116
116
    if m:
117
117
        scheme = m.group('scheme')
118
118
        path = m.group('path').split('/')
 
119
        if path[-1:] == ['']:
 
120
            # Strip off a trailing slash
 
121
            # This helps both when we are at the root, and when
 
122
            # 'base' has an extra slash at the end
 
123
            path = path[:-1]
119
124
    else:
120
125
        path = base.split('/')
121
126