Mercurial > hg
diff tests/test-issue842.t @ 33938:9180f8f593f3
revlog: abort on attempt to write null revision
My repo got corrupted yesterday by something that ended up writing the
null revision to the revlog (nullid hash, not nullrev index, of
course). We use many extensions internally (narrowhg, remotefilelog,
evolve, internal extensions) and treemanifests are on. The null
revision was written to the changelog, the root manifest log, and one
subdirectory manifest log. I have no idea exactly why the null
revision was written, but it seems cheap enough to check that we
should fail instead of corrupting the repo.
Differential Revision: https://phab.mercurial-scm.org/D522
author | Martin von Zweigbergk <martinvonz@google.com> |
---|---|
date | Fri, 25 Aug 2017 15:50:07 -0700 |
parents | 2fc86d92c4a9 |
children | 55c6ebd11cb9 |