Mercurial > hg
diff tests/test-histedit-obsolete.t @ 19326:7014526d67a8
revlog: add exception when linkrev == nullrev
When we deployed the latest crew mercurial to our users, a few of them
had issues where a filelog would have an entry with a -1 linkrev. This
caused operations like rebase and amend to create a bundle containing the
entire repository, which took a long time.
I don't know what the issue is, but adding this check should prevent repos
from getting in this state, and should help us pinpoint the issue next time
it happens.
author | Durham Goode <durham@fb.com> |
---|---|
date | Mon, 17 Jun 2013 19:44:00 -0700 |
parents | 53060cc1b601 |
children | 10a0ae668fe6 |