[PATCH 1 of 1] url: added support for scp/rsync style URLs for ssh

Dirkjan Ochtman dirkjan at ochtman.nl
Tue Apr 19 04:11:30 CDT 2011


On Fri, Apr 8, 2011 at 10:22, Thomas Arendsen Hein <thomas at intevation.de> wrote:
> Ry4an said on IRC that we should count him as a fan, because the
> double // in absolute ssh URLs is in the top two of reported
> problems for him.
>
> mpm said that he is -.5 on this and likes to see more discussion
> about the robustness of the guessing.
>
> So everyone who likes to have this feature should comment now!

Let's revive this discussion a bit (see also on IRC).

I still dislike the idea, for several reasons:

1. We already have ssh://, this is just added clutter
2. I thoroughly prefer the explicit protocol, it makes it clear what will happen
3. I think host:path-style paths are confusing, because I'm used to :
introducing a port

Apparently all this is because I'm a UNIX weenie who got into ssh, scp
and rsync AFTER http:// became the common reference (as such I've
never used scp and use rsync:// URLs). I don't think one side of this
debate will get to agreement with the other side, so I think Matt
should just pronounce on this whatever he feels is right.

Cheers,

Dirkjan


More information about the Mercurial-devel mailing list