SSH operations unfriendlyness
Matt Mackall
mpm at selenic.com
Tue Jul 11 21:00:02 UTC 2006
On Tue, Jul 11, 2006 at 10:36:42PM +0200, Mads Kiilerich wrote:
> Mercurial has a sane ssh:// URL syntax. But when users familiar with ssh
> "urls" see it they think it's just a ssh:// prefix to the syntax they
> know. That's two very different expectations. One syntax can't satisfy all.
>
> How about adding an "ssh:user at host:path" syntax for those who wants to a
> syntax which isn't an url?
Perhaps. I might even consider/prefer user at host:path if we're going to
allow alternate syntaxes. But a future rsync extension will complicate
matters as it uses the same syntax. Ideally, protocols should register
a test function with the dispatcher so we don't have to put all the
ugly parsing bits in the core. This might even allow us to autodetect
static-http easily.
--
Mathematics is the supreme nostalgia of our time.
More information about the Mercurial
mailing list