shorter bzr+ssh url syntax

Martin Pool mbp at
Thu Jun 21 02:15:16 BST 2007

Since this seems to need some discussion here it is on the list.

"bzr+ssh://" is 12 keystrokes (counting shifts) to type, which is a
bit high if it is to become the standard way of getting to remote
branches.  Some options include:

0- leave it as it is
1- ssh://  -- arguably wrong because we are not just opening a plain
ssh session, but on the other hand this is correctly identifying the
"resource" of a machine reached by ssh, and then bzr does something
with it
2- user at host:patch or host:path -- concise and consistent with rsync,
darcs, other systems; if no username is given this is slightly
ambiguous with other url schemes but can still be discerned unless the
hostname is a scheme name
3- ssh:host

I would be happy to add 1.  I think we should support the syntax of 2,
but it should be used for the most standard works-almost-everywhere
method, and at the moment it seems likely that will be bzr+ssh, but
that's perhaps not quite settled?  (ie would people rather use
bzr+https, or a hypothetical bzr+ssl?)

---------- Forwarded message ----------
From: Robert Collins <robertc at>
Date: Jun 21, 2007 10:45 AM
Subject: Re: [Bug 121195] Re: Change "bzr+ssh://" URLs to "ssh://"
To: mbp at

On Thu, 2007-06-21 at 00:30 +0000, Martin Pool wrote:
> I think giving an ssh url would be reasonably understood to mean
> "bazaar over ssh", not "start a terminal".
> But beyond that, we can use "user at host:relpath" as short hand,
> similarly to rsync and darcs, amongst others.  We would just need to
> be sure that bzr+ssh really is the standard transport.  (Rather than
> say bzr+https or something.)

Can we *please* take this to the list for further discussion?


More information about the bazaar mailing list