/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/remote.py

Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
464
464
    """
465
465
 
466
466
    def _build_medium(self):
467
 
        assert self.base.startswith('bzr://')
468
467
        return medium.SmartTCPClientMedium(self._host, self._port), None
469
468
 
470
469
 
476
475
    """
477
476
 
478
477
    def _build_medium(self):
479
 
        assert self.base.startswith('bzr+ssh://')
480
478
        # ssh will prompt the user for a password if needed and if none is
481
479
        # provided but it will not give it back, so no credentials can be
482
480
        # stored.
498
496
    """
499
497
 
500
498
    def __init__(self, base, _from_transport=None, http_transport=None):
501
 
        assert ( base.startswith('bzr+http://') or base.startswith('bzr+https://') )
502
 
 
503
499
        if http_transport is None:
504
500
            # FIXME: the password may be lost here because it appears in the
505
501
            # url only for an intial construction (when the url came from the