[darcs-users] push --and-apply
Aggelos Economopoulos
aoiko at cc.ece.ntua.gr
Thu Sep 18 13:56:39 UTC 2003
On Thursday 18 September 2003 14:15, David Roundy wrote:
[...]
> On Thu, Sep 18, 2003 at 12:38:24AM +0300, Aggelos Economopoulos wrote:
[...]
> > @@ -90,7 +90,7 @@
> > setitimer(ITIMER_REAL, &itv, NULL);
> > setitimer(ITIMER_VIRTUAL, &itv, NULL);
> > setitimer(ITIMER_PROF, &itv, NULL);
> > - execvp(file, argv);
> > + execvp(file, argv + 1);
> > }
>
> It turns out the bug isn't in exec, but in the call to exec in
> External.hs. I was passing an empty string as an argument when there is no
> SSH_PORT environment variable, which is what scp was barfing on. I've
> fixed this bug, and another I came across while testing it.
Well thanks for tracking it down. I was too tired to go any further last night
and you've saved me going through it again this afternoon.
> darcs push --and-apply abridgegame.org:mydirectory
>
> now works for me.
Works here too (actually push --and-apply fails because there isn't a darcs
binary on the remote solaris box (yet), but the network part is successful).
More information about the darcs-users
mailing list