~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/local.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2007-06-21 05:22:37 UTC
  • mfrom: (2490.2.33 graphwalker)
  • Revision ID: pqm@pqm.ubuntu.com-20070621052237-2phm1z5dg4arrwnk
Avoid topological sorting in Repository.get_ancestry where possible

Show diffs side-by-side

added added

removed removed

Lines of Context:
35
35
    symbol_versioning,
36
36
    )
37
37
from bzrlib.trace import mutter
38
 
from bzrlib.transport import LateReadError
39
38
""")
40
39
 
41
40
from bzrlib.transport import Transport, Server
142
141
            path = self._abspath(relpath)
143
142
            return open(path, 'rb')
144
143
        except (IOError, OSError),e:
145
 
            if e.errno == errno.EISDIR:
146
 
                return LateReadError(relpath)
147
144
            self._translate_error(e, path)
148
145
 
149
146
    def put_file(self, relpath, f, mode=None):