This patch fixes the issue from the files darcs-issue2343.tar.gz and
test-repo.tgz. I don't know if the amend issue is the same problem.
1 patch for repository http://darcs.net/screened:
Tue Sep 17 18:01:01 ART 2013 Jose Luis Neder <jlneder@gmail.com>
* resolve issue2343: darcs amend-record does not record my change
I'm screening it since it fixes patience diff on the cases shown in
issue2343 and the shell test you provided. But the change and the shell
tests need more explanations, I'd like at least an explanation here and
ideally comments on the piece of code modified. Also the comments in the
shell test refer to some "conflict" which I think is not the term you
want to use.
I added an explanation on the test case. It was a mistake i made when it's
checking the last common lines from bottom to top, for "boring lines". It was
checking a line above the last common line (the index was n instead of (n+1))
and therefore it was doing a wrong diff when this last line that was different
was a boring line in one and not in the other.
1 patch for repository http://darcs.net/screened:
Sun Sep 22 19:24:42 ART 2013 Jose Luis Neder <jlneder@gmail.com>
* resolve issue2343: darcs amend-record does not record my change
Here are the comments for the test file in a new patch.
1 patch for repository http://darcs.net/screened:
Sun Sep 22 19:43:03 ART 2013 Jose Luis Neder <jlneder@gmail.com>
* Add better comments to the issue2343 test file
It adds some comment explaining the issue, when it happens and why.