There is a bug in darcs (up to version 2.2.0 inclusive), that adds an extra empty line at the end of the darcs diff output. This extra line changes the diff context and patch may choke on it. Try darcs 2.2.1 and see if the problem is fixed, if not it may be something else.
On Saturday 14 March 2009, Lyle Kopnicky wrote: > Yep, I tried --unified. I think it may be a problem with my 'patch' > program, rather than with darcs. > > On Sat, Feb 28, 2009 at 1:02 AM, Lele Gaifax <[email protected]>wrote: > > On Fri, 27 Feb 2009 22:44:55 -0800 > > > > Lyle Kopnicky <[email protected]> wrote: > > > Hi folks, > > > I wanted to try to patch some files using a darcs diff. > > > Unfortunately, patch chokes on the input. The darcs command I > > > executed was: > > > > > > darcs diff -p make-str-function-not-generate-space-after-numbers > > > > ../patch.txt > > > > Did you try using the "--unified" diff option? > > > > ciao, lele. > > -- > > nickname: Lele Gaifax | Quando vivrò di quello che ho pensato ieri > > real: Emanuele Gaifas | comincerò ad aver paura di chi mi copia. > > [email protected] | -- Fortunato Depero, 1929. > > _______________________________________________ > > darcs-users mailing list > > [email protected] > > http://lists.osuosl.org/mailman/listinfo/darcs-users -- Dan _______________________________________________ darcs-users mailing list [email protected] http://lists.osuosl.org/mailman/listinfo/darcs-users
