using ssh:// should hint at bzr+ssh://

Bug #330535 reported by Jelmer Vernooij
2
Affects Status Importance Assigned to Milestone
Bazaar
Fix Released
Undecided
Jelmer Vernooij

Bug Description

It would be nice if bzr gave users a somewhat sensible error message if they used a ssh://foo/bar URL instead of a bzr+ssh://foo/bar URL. Right now it just says "Unknown protocol", but it would be nice if it could point users at bzr+ssh://.

I don't think we should handle ssh:// as alias for bzr+ssh://, since that would cause confusion with git+ssh:// and svn+ssh://. ssh:// also just seems wrong semantically - bzr doesn't talk the ssh protocol directly, it talks the bzr protocol *tunneled over ssh*.

Related branches

Revision history for this message
Colin Watson (cjwatson) wrote :

Users of ssh:// might well just be pushing to a random dumb server and expecting it to put the files there over SFTP. See bug 330507, where I note that this seems to be what a git user expected. I think sftp:// would be a more reasonable alias than bzr+ssh:// would be.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I guess it should be reasonable to mention both sftp:// and bzr+ssh:// in the error message.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I submitted this to the Bazaar list a bit earlier:

https://lists.ubuntu.com/archives/bazaar/2009q1/053164.html

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

submitted to pqm

Changed in bzr:
assignee: nobody → jelmer
status: New → Fix Released
Revision history for this message
Robert Collins (lifeless) wrote : Re: [Bug 330535] Re: using ssh:// should hint at bzr+ssh://

On Tue, 2009-02-17 at 18:26 +0000, Colin Watson wrote:
>
> Users of ssh:// might well just be pushing to a random dumb server and
> expecting it to put the files there over SFTP. See bug 330507, where I
> note that this seems to be what a git user expected. I think sftp://
> would be a more reasonable alias than bzr+ssh:// would be.

I'm pretty sure the git user expected it to invoke git on the far end,
which is equivalent to bzr+ssh:// rather than sftp://.

-Rob

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.