~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/http.py

  • Committer: John Arbash Meinel
  • Date: 2005-09-16 14:57:59 UTC
  • mto: (1393.2.1)
  • mto: This revision was merged to the branch mainline in revision 1396.
  • Revision ID: john@arbash-meinel.com-20050916145758-ad06c9ae86840f17
Merged up-to-date against mainline, still broken.

Show diffs side-by-side

added added

removed removed

Lines of Context:
118
118
        if isinstance(relpath, basestring):
119
119
            relpath = [relpath]
120
120
        baseurl = self.base.rstrip('/')
121
 
        return '/'.join([baseurl] + relpath)
 
121
        # TODO: We should handle ".." in a more appropriate manner
 
122
        # Basically, we need to normalize the path.
 
123
        path = '/'.join([baseurl] + relpath)
122
124
 
123
125
    def relpath(self, abspath):
124
126
        if not abspath.startswith(self.base):