HomePhabricator

revlog: replace REVLOGV2 check related to sidedata with `hassidedata` checks

Authored by marmoute.

Description

revlog: replace REVLOGV2 check related to sidedata with hassidedata checks

This is more flexible and semantically more correct. The associated revlog's
attribute exist since 827cb4fe62a3, so well we start linking sidedata to
revlogv2.

Differential Revision: https://phab.mercurial-scm.org/D10562