/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/transport/__init__.py

  • Committer: v.ladeuil+lp at free
  • Date: 2006-10-17 14:01:12 UTC
  • mfrom: (2084 +trunk)
  • mto: (2145.1.1 keepalive)
  • mto: This revision was merged to the branch mainline in revision 2146.
  • Revision ID: v.ladeuil+lp@free.fr-20061017140112-8ae6aac456429ccf
Merge bzr.dev

Show diffs side-by-side

added added

removed removed

Lines of Context:
330
330
                => '/home/sarah/project/foo'
331
331
            t._combine_paths('/home/sarah', '../../etc')
332
332
                => '/etc'
 
333
            t._combine_paths('/home/sarah', '/etc')
 
334
                => '/etc'
333
335
 
334
336
        :param base_path: urlencoded path for the transport root; typically a 
335
337
             URL but need not contain scheme/host/etc.
361
363
            elif p != '':
362
364
                base_parts.append(p)
363
365
        path = '/'.join(base_parts)
 
366
        if not path.startswith('/'):
 
367
            path = '/' + path
364
368
        return path
365
369
 
366
370
    def relpath(self, abspath):