[darcs-users] darcs push problem: cannot find file

David Roundy droundy at abridgegame.org
Fri Nov 19 12:29:40 UTC 2004

On Fri, Nov 19, 2004 at 12:19:54PM +0100, Daan Leijen wrote:
> Will wrote:
> >
> >I can also duplicate this problem, when I attempt to push a patch that
> >modifies an existing file I get:
> >
> >  darcs failed:  Error applying patch to recorded!
> >
> >Strangely this only seems to happen for hunk patches; adding,
> >removing, and replacing work fine.  Even stranger, it works ok when
> >darcs is run from msys's sh.exe, but not from cmd.exe.  The only
> >difference I can see is whether the lines in the file end in "\n" or
> >"\r\n".

Hmmmm.  Could it be that stdin is being read in text mode? If so, we should
switch to reading stdin in binary mode.  Can one of the windows developers
check this?

> I hope this report somewhat helps to fix this critical bug.
> For me, this is a real showstopper -- I am unable to push my
> repository anymore on the Morrow project ... and there is no
> workaround :-(

Can't you pull instead?
David Roundy

More information about the darcs-users mailing list