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

Thomas Arendsen Hein thomas at intevation.de
Fri Apr 8 03:22:37 CDT 2011


* Thomas Arendsen Hein <thomas at intevation.de> [20110406 15:46]:
> # HG changeset patch
> # User Sascha Wilde <wilde at intevation.de>
> # Date 1302096161 -7200
> # Node ID 62833deea9f05f44021b401c8093ea86212ac197
> # Parent  375872fdadba7266eced67c85e57ffda26fa7500
> url: added support for scp/rsync style URLs for ssh

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!


My point here is that we do guessing for local files (without using
the file: URL syntax) and therefore already have to "escape"
repositories with a colon in their name by prepending ./ or using
absolute paths, so here is not really more guessing than there was
before.

I agree that only having one way to do something is a good thing in
general, but if the one way is too cumbersome in many situations,
having an easier (and well-known!) alternative is good.

Regards,
Thomas Arendsen Hein

-- 
thomas at intevation.de - http://intevation.de/~thomas/ - OpenPGP key: 0x5816791A
Intevation GmbH, Neuer Graben 17, 49074 Osnabrueck - AG Osnabrueck, HR B 18998
Geschaeftsfuehrer: Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


More information about the Mercurial-devel mailing list