revlog: add a "data compression mode" entry in the index tuple
That will make it possible to keep track of compression information in the revlog index, opening the way to more efficient revision restoration (in native code, but the python usage is already defeating performance work). We start with adding a new entry to the index tuple, using a value matching the current behavior. We will introduce storage and other value in later changesets. Differential Revision: https://phab.mercurial-scm.org/D10646
Showing
- mercurial/bundlerepo.py 1 addition, 0 deletionsmercurial/bundlerepo.py
- mercurial/cext/parsers.c 1 addition, 1 deletionmercurial/cext/parsers.c
- mercurial/cext/revlog.c 21 additions, 8 deletionsmercurial/cext/revlog.c
- mercurial/policy.py 1 addition, 1 deletionmercurial/policy.py
- mercurial/pure/parsers.py 19 additions, 6 deletionsmercurial/pure/parsers.py
- mercurial/revlog.py 8 additions, 0 deletionsmercurial/revlog.py
- mercurial/revlogutils/constants.py 10 additions, 1 deletionmercurial/revlogutils/constants.py
- mercurial/revlogutils/revlogv0.py 15 additions, 1 deletionmercurial/revlogutils/revlogv0.py
- mercurial/unionrepo.py 6 additions, 0 deletionsmercurial/unionrepo.py
- tests/test-parseindex2.py 32 additions, 4 deletionstests/test-parseindex2.py
Loading
Please register or sign in to comment