HomePhabricator

rawdata: introduce a `rawdata` method on revlog

Authored by marmoute.

Description

rawdata: introduce a rawdata method on revlog

This method aims at replacing revision(..., raw=True) call. The purpose of
data returned without and without raw are different enough that having two
different method would make sense.

This split is motivated by other work aiming at storing data on the side of the
main revision of a revlog. Having a cleaner API makes it simpler to add this
work.

The series following this first changesets is organised as follow:

  1. add rawdata method everywhere it is useful
  2. update all caller
  3. implement all rawdata method without using revision
  4. deprecate the rawdata parameter of revision

Details

Committed
marmouteWed, Aug 7, 3:54 PM
Parents
rHG389233789952: revlog: split a `_revisiondata` method to file `revision` job
Branches
Unknown
Tags
Unknown