[darcs-users] Re: darcs push problem (on Windows): cannot find file

Mark Stosberg mark at summersault.com
Thu Nov 18 16:02:39 UTC 2004

On 2004-11-18, Michael Milverton <camel77 at iprimus.com.au> wrote:
> --===============1631254006==
> Content-Type: multipart/signed; boundary="nextPart2726753.Bvk4EnWvWB";
> 	protocol="application/pgp-signature"; micalg=pgp-sha1
> Content-Transfer-Encoding: 7bit
> --nextPart2726753.Bvk4EnWvWB
> Content-Type: text/plain;
>   charset="iso-8859-1"
> Content-Transfer-Encoding: quoted-printable
> Content-Disposition: inline
> On windows boxes, I also have this exact problem. Pushing fails, pulling=20
> works.

As a non-Haskell programmer, this is just a guess. Pull does not call
external programs. Push does. Perhaps it's not finding 'darcs' in the

>From Push.lhs

apply_via_local repo bundle =
    execPipeIgnoreError "darcs" ["apply","--all","--repodir",repo] bundle

I don't see why this code couldn't be refactored to avoid making an external
call here, though. It seems like the the 'apply' function ought to callable
internally, which would also have some minor performance improvement, I


More information about the darcs-users mailing list