[darcs-devel] [patch738] resolve issue1166 --unified flag for record, amend-record, revert and unrevert

Guillaume Hoffmann bugs at darcs.net
Wed Apr 4 19:34:35 UTC 2012


Guillaume Hoffmann <guillaumh at gmail.com> added the comment:

The problem is that with record --unified (contrary to whatsnew
--unified), the function Darcs.Patch.Viewing.coolContextHunk does not
know, when displaying a hunk with context inside of a file f, what are
the previous hunks that modify f.

Hence, some hunk, displayed against the pristine state, has some line
number that is irrelevant to the state of the pristine, but that is
relevant to the state of the pristine *knowing* the previous hunks of
the file.

__________________________________
Darcs bug tracker <bugs at darcs.net>
<http://bugs.darcs.net/patch738>
__________________________________


More information about the darcs-devel mailing list