Comment 14 for bug 121195

Revision history for this message
Colin Watson (cjwatson) wrote : Re: [Bug 121195] Re: Accept "ssh://" as a shortcut for "bzr+ssh://" URLs

On Mon, May 04, 2009 at 10:59:09PM -0000, Jelmer Vernooij wrote:
> Reconsidering this, I think ssh:// should Do The Right thing and attempt
> to use whatever is appropriate to use over ssh for a particular
> location:
>
> * if bzr is installed on the remote machine, it should use bzr+ssh://
> * if sftp is available it should use sftp

If it does guessing like that, it might be nice if it cached the result
of the guess, otherwise that'd be a lot of round-trips (and an extra SSH
session startup!) at the start of every connection to the remote branch.