[darcs-users] bug in darcs whatsnew

Tommy Pettersson ptp at lysator.liu.se
Thu Aug 19 12:03:12 UTC 2004


On Thu, Aug 19, 2004 at 07:15:09AM -0400, David Roundy wrote:
> >   @@ -1,2 +1,6 @@
> >    one
> >    
> >   +two
> >   +
> >   +three
> >   +
> >   $ darcs what
> >   {
> >   hunk ./a 3
> >   +two
> >   hunk ./a 5
> >   +three
> >   +
> >   +
> >   }
[snip]
> well-formed text files do), darcs sees it as ending with a blank line.  So
> darcs is treating the blank line between "two" and "three" as being the
> extra one that was at the end of the original file, and adding a new
> "extra" blank line at the end.

I see. (after thinking for a while)

> This won't cause any trouble, although it does have an effect on how the

It's good to hear, but I think this misfeature can scare
people -- it scared me.  When I make a change and darcs asks
me if I want to record what is "obviously" another change, I
lose confidence in darcs' ability to correctly record my work.


-- 
Tommy Pettersson <ptp at lysator.liu.se>




More information about the darcs-users mailing list