> >  remote: abort: Bad file number
> >  abort: no suitable response from remote hg!

> for fun, run under ratrace and you'll see the problem. This may be the
> top of stack problem but I am not sure. I just don't recall.

Well execing /bin/sh problematic:

    730 hg Exec 230f1e 0x59fd40/"/bin/sh" 0x59fd60/"/bin/sh"
0x5a1b60/"-c" 0x5a19a0/"/bin/openssh/ssh -v -2 135.112.125.227 hg -R
foo2 serve --stdio" = 0xffffffff  1323985179203831089
1323985179204203215

I copied /bin/rc to /bin/sh and got the quoting problem I was looking
for before:
    remote: bash: hg -R foo2 serve --stdio: command not found

I could edit mercurial's sshrepo.py code to take out the quotes.
I could edit python's subprocess.py code to call rc instead of sh.
But maybe this has been solved before?
Maybe someone has a nice rc script for sh that would remove the quotes?

Also, I did have to generate keys, the ssh prompt doesn't get through to me.
Also, while it worked at least once (as far as the quote failure),
I seem to have to use '/bin/openssh/ssh -i /usr/troy/lib/ssh/ida_rsa' now.
It doesn't seem to look for ida_rsa there.

Ideas?

BTW, I'm using the stallion 1.7.5 contrib, not the bichued 1.0.2.

Thanks,
-troy

Reply via email to