~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/blackbox/test_serve.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2008-05-20 07:16:50 UTC
  • mfrom: (3431.3.11 bug-230550)
  • Revision ID: pqm@pqm.ubuntu.com-20080520071650-9vbizb6v6ji8k1jy
Fix spurious "No repository present" errors when accessing branches
        in shared repos via bzr+http.

Show diffs side-by-side

added added

removed removed

Lines of Context:
80
80
        # Connect to the server
81
81
        # We use this url because while this is no valid URL to connect to this
82
82
        # server instance, the transport needs a URL.
 
83
        url = 'bzr://localhost/'
83
84
        client_medium = medium.SmartSimplePipesClientMedium(
84
 
            process.stdout, process.stdin)
85
 
        transport = remote.RemoteTransport(
86
 
            'bzr://localhost/', medium=client_medium)
 
85
            process.stdout, process.stdin, url)
 
86
        transport = remote.RemoteTransport(url, medium=client_medium)
87
87
        return process, transport
88
88
 
89
89
    def start_server_port(self, extra_options=()):