~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/transport/memory.py

  • Committer: Andrew Bennetts
  • Date: 2009-07-20 04:26:55 UTC
  • mto: This revision was merged to the branch mainline in revision 4552.
  • Revision ID: andrew.bennetts@canonical.com-20090720042655-ggzsg8uurf8ljbfh
Add test for read_mergeable_from_transport raising NotABundle when TooManyRedirections happens.

Show diffs side-by-side

added added

removed removed

Lines of Context:
85
85
        if len(path) == 0 or path[-1] != '/':
86
86
            path += '/'
87
87
        url = self._scheme + path
88
 
        result = MemoryTransport(url)
 
88
        result = self.__class__(url)
89
89
        result._dirs = self._dirs
90
90
        result._files = self._files
91
91
        result._locks = self._locks