revlog: fix check-code error

--HG--
branch : stable