> 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?
how about /bin/ape/sh? > BTW, I'm using the stallion 1.7.5 contrib, not the bichued 1.0.2. we are using the python from fgb/bichued which calls rc. however, we're not using openssh. so ymmv. (contrib bichued/python.) one would think ape/sh would be less likely to do the wrong thing. in any event, the python port really could use some improvement, and updating. unfortunately, time is short, and stomachs are weak. - erik
