[issue1266] path parsing error (ssh)

Andreas Becker mercurial-bugs at selenic.com
Tue Aug 19 07:14:22 CDT 2008

New submission from Andreas Becker <andreas.becker at dsys.de>:

Hi folks,

my mercurical version is 1.0.1 on a Debian System:
I tried to clone a repository via ssh. As I could see, that there is something 
bad with parsing URL's:
me at akropolis:> hg -v clone ssh://becker@akropolis.dsys/var/lib/hg/module/spi/
running ssh becker at akropolis.dsys "hg -R var/lib/hg/module/spi/ serve --stdio"
Password: xxxx
remote: abort: There is no Mercurial repository here (.hg not found)!
abort: no suitable response from remote hg!

As you could see, in the verbose answer line, there is a leading slash missing 
at "-R ///var/".
If I use 
me at akropolis:>hg -v clone ssh://becker@akropolis.dsys//var/lib/hg/module/spi/ 
everything works fine.

messages: 6799
nosy: abecker
priority: bug
status: unread
title: path parsing error (ssh)

Mercurial issue tracker <mercurial-bugs at selenic.com>

More information about the Mercurial-devel mailing list