comparison mercurial/encoding.py @ 28110:2b41f8655bbc

tests: add tests for missing revlogs and revlog entries The verify code is pretty poorly tested. It's easy to test missing revlogs and missing revlog entries, so let's add tests for that. Also add some more tests corrupting each type of revlog, so we test the messages presented when reading a revision fails. The pure and native implementations produce different error messages, so we have to use (glob) in the tests.
author Martin von Zweigbergk <martinvonz@google.com>
date Sun, 31 Jan 2016 21:55:52 -0800
parents b2d24c2898f9
children 9bcbd9412225
comparison
equal deleted inserted replaced
28109:b892e424f88c 28110:2b41f8655bbc