absolute and relative paths with ssh

Zbynek Winkler zwin at users.sourceforge.net
Fri Sep 16 08:41:02 CDT 2005

Michael Smith wrote:

>On Fri, 16 Sep 2005 14:42:23 +0200
>Zbynek Winkler <zwin at users.sourceforge.net> wrote:
>>could the documentation/code be updated regarding working with ssh?
>>The  current doc says that valid path for push is
>I have been using the version from the quick start page:
>It says:
>hg push ssh://user@example.com/~/hg/
And? The fact that the above works is even more confusing because I 
expect '~' to represent the home directory. So by hand-expanding that I 
expect "hg push ssh://user@example.com/home/user/hg/" to work as well 
but it does not :(. Using "hg push 
ssh://user@example.com//home/user/hg/" to get absolute path just does 
not feel right.


PS. I was refering to http://www.selenic.com/mercurial/hg.1.html
PS2. Well, it is not life-threatning. It is just confusing.

http://zw.matfyz.cz/     http://robotika.cz/
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic

More information about the Mercurial mailing list