~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/tests/test_smart_transport.py

  • Committer: Canonical.com Patch Queue Manager
  • Date: 2011-08-17 18:13:57 UTC
  • mfrom: (5268.7.29 transport-segments)
  • Revision ID: pqm@pqm.ubuntu.com-20110817181357-y5q5eth1hk8bl3om
(jelmer) Allow specifying the colocated branch to use in the branch URL,
 and retrieving the branch name using ControlDir._get_selected_branch.
 (Jelmer Vernooij)

Show diffs side-by-side

added added

removed removed

Lines of Context:
3558
3558
        # still work correctly.
3559
3559
        base_transport = remote.RemoteHTTPTransport('bzr+http://host/%7Ea/b')
3560
3560
        new_transport = base_transport.clone('c')
3561
 
        self.assertEqual('bzr+http://host/~a/b/c/', new_transport.base)
 
3561
        self.assertEqual('bzr+http://host/%7Ea/b/c/', new_transport.base)
3562
3562
        self.assertEqual(
3563
3563
            'c/',
3564
3564
            new_transport._client.remote_path_from_transport(new_transport))