absolute and relative paths with ssh

Bryan O'Sullivan bos at serpentine.com
Fri Sep 16 16:54:37 CDT 2005

On Fri, 2005-09-16 at 23:48 +0200, Zbynek Winkler wrote:

> It just feels more natural to have the path relative to the home 
> directory not starting with '/'.

Regardless, that's entirely normal behaviour.

> But still - am I the only one who thinks that it is "strange" when
>     ssh://user@example.com/~/hg/
> means the same thing as
>     ssh://user@example.com/hg/
> ???

Perhaps not, but it fits with my mental model of how I expect ssh to

> IMHO it goes against the convention for http where
>     http://user@example.com/~/hg/
> is really something different from
>     http://user@example.com/hg/
> Shouldn't we respect that?

Different protocols have different meanings for apparently similar


More information about the Mercurial mailing list