/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 breezy/transport/remote.py

  • Committer: Jelmer Vernooij
  • Date: 2019-03-04 05:10:44 UTC
  • mfrom: (7293 work)
  • mto: This revision was merged to the branch mainline in revision 7294.
  • Revision ID: jelmer@jelmer.uk-20190304051044-vph4s8p9qvpy2qe9
Merge trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
602
602
 
603
603
 
604
604
class HintingSSHTransport(transport.Transport):
605
 
    """Simple transport that handles ssh:// and points out bzr+ssh://."""
 
605
    """Simple transport that handles ssh:// and points out bzr+ssh:// and git+ssh://."""
 
606
 
 
607
    # TODO(jelmer): Implement support for detecting whether the repository at the
 
608
    # other end is a git or bzr repository.
606
609
 
607
610
    def __init__(self, url):
608
 
        raise errors.UnsupportedProtocol(url,
609
 
                                         'bzr supports bzr+ssh to operate over ssh, use "bzr+%s".' % url)
 
611
        raise errors.UnsupportedProtocol(
 
612
            url, 'Use bzr+ssh for Bazaar operations over SSH, e.g. "bzr+%s". '
 
613
            'Use git+ssh for Git operations over SSH, e.g. "git+%s".' % (url, url))
610
614
 
611
615
 
612
616
def get_test_permutations():