Mercurial > hg
diff tests/test-obsolete-checkheads.t @ 30543:03fae9048fa1
revlog: ensure that flags do not overflow 2 bytes
This patch adds a line that ensures we are not setting by mistake a set of flags
overlfowing the 2 bytes they are allocated. Given the way the data is packed in
the revlog header, overflowing 2 bytes will result in setting a wrong offset.
author | Cotizo Sima <cotizo@fb.com> |
---|---|
date | Mon, 28 Nov 2016 04:34:01 -0800 |
parents | 40ffa8bff73a |
children | c059286a0f9c |