from ssh://host//path

Wang Weijun at
Thu Apr 3 15:23:43 UTC 2014

It looks like the problem is at

   222	          pull_newrepo="`echo ${pull_base}/${i} | sed -e 's@\([^:]/\)//*@\1 at g'`"

It tries to substitute all repeated slashes into one unless it's after a colon.

*Mike*: Is that line really useful or just a beautifier?


On Apr 3, 2014, at 19:42, Erik Joelsson <erik.joelsson at> wrote:

> I have had the same problem before and would also appreciate fixing it.
> /Erik
> On 2014-04-03 12:47, Weijun Wang wrote:
>> Hi All
>> I'm trying to clone jdk9 from one of my machines to another using ssh. The source was at ssh://host//space/jdk9/dev. Please note the double slash before "space" because it's not under my $HOME.
>> Now I can clone the dev repo but if I go inside and call "sh", it shows trying to get a sub-repo from somewhere like
>>   ssh://host/space/jdk9/dev/corba
>>             ^  <-- only one slash
>> and the error "remote: abort: there is no Mercurial repository here" shows up.
>> What shall I do? Symlink the /space inside my $HOME on host? Or is it possible to enhance to deal with this?
>> Thanks
>> Max

More information about the build-dev mailing list