Mercurial > hg
annotate .editorconfig @ 37833:6614cac550ae stable 4.6
filelog: don't crash on invalid copy metadata (issue5748)
"copy" and "copyrev" are both supposed to appear next to each other.
However, a user report demonstrated a crash that indicates that
something in the wild is producing "copy" without "copyrev"
(probably `hg convert`).
While we should definitely fix the source of the bad metadata,
the bad code causing the crash is already in the wild and who knows
how many repositories are impacted. So let's be more defensive
when accessing the file revision metadata.
author | Gregory Szorc <gregory.szorc@gmail.com> |
---|---|
date | Thu, 30 Nov 2017 21:19:46 -0500 |
parents | d30fdd6d1bf7 |
children | 1d6066336d7b |