~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

  • Committer: Robert Collins
  • Date: 2006-06-09 09:57:44 UTC
  • mto: This revision was merged to the branch mainline in revision 1757.
  • Revision ID: robertc@robertcollins.net-20060609095744-784f9e971ed88ffc
Fix regression in LocalTransport to allow merging.

Show diffs side-by-side

added added

removed removed

Lines of Context:
16
16
 
17
17
"""Transport for the local filesystem.
18
18
 
19
 
This is a fairly thin wrapper on regular file IO."""
 
19
This is a fairly thin wrapper on regular file IO.
 
20
"""
20
21
 
21
22
import os
22
23
import shutil
71
72
         - relative_reference does not contain '..'
72
73
         - relative_reference is url escaped.
73
74
        """
 
75
        if relative_reference in ('.', ''):
 
76
            return self._local_base
74
77
        return self._local_base + urlutils.unescape(relative_reference)
75
78
 
76
79
    def abspath(self, relpath):