[darcs-devel] [issue128] apply_list fails on some hunks

Tommy Pettersson bugs at darcs.net
Tue Feb 7 16:30:00 PST 2006


New submission from Tommy Pettersson <ptp at lysator.liu.se>:

From: Aaron Kaplan
There seems to be a bug in the way darcs inverts certain patches.
Consider a file that begins as

  ---8<-----
  one
  two
  three
  ---8<-----

and then is modified to look like

  ---8<-----
  three
  one
  ---8<-----

If you record this change and then unpull it, the file ends up like
this:

  ---8<-----
  three

  one
  ---8<-----

From: Tommy Pettersson
I have narrowed down where this bug happens.  It is in the
optimization of apply_list in PatchApply.lhs.

----------
messages: 475
nosy: droundy, tommy
priority: bug
status: unread
title: apply_list fails on some hunks

____________________________________
Darcs issue tracker <bugs at darcs.net>
<http://bugs.darcs.net/issue128>
____________________________________




More information about the darcs-devel mailing list