absolute and relative paths with ssh
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:
>hg push ssh://firstname.lastname@example.org/~/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://email@example.com/home/user/hg/" to work as well
but it does not :(. Using "hg push
ssh://firstname.lastname@example.org//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.
Faculty of Mathematics and Physics, Charles University, Prague, Czech Republic
More information about the Mercurial