[darcs-users] Usable diffs?

Dan Pascu dan at ag-projects.com
Sun Mar 15 03:17:52 UTC 2009


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 
<lele at nautilus.homeip.net>wrote:
> > On Fri, 27 Feb 2009 22:44:55 -0800
> >
> > Lyle Kopnicky <lists at qseep.net> 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.
> > lele at nautilus.homeip.net |                 -- Fortunato Depero, 1929.
> > _______________________________________________
> > darcs-users mailing list
> > darcs-users at darcs.net
> > http://lists.osuosl.org/mailman/listinfo/darcs-users



-- 
Dan


More information about the darcs-users mailing list