Mercurial > public > mercurial-scm > hg-stable
diff tests/test-diffdir.t @ 27902:51b6ce257e0a
diff: don't crash when merged-in addition is copied
Similar to what was explained in the previous commit, the diff code
expected copy source to be in "ctx1", which is not always the case
during a merge. This has been broken since before hg 2.0.
Also similar to the previous commit, we fix the problem by fixing up
the copy dict.
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Thu, 14 Jan 2016 10:22:55 -0800 |
parents | 29c8e35d3283 |
children | fc4fb2f17dd4 |
line wrap: on
line diff