Mercurial > public > mercurial-scm > hg
diff mercurial/revlog.py @ 51187:6ec8387eb0be
rust-index: pass data down to the Rust index
This will allow us to start keeping the Rust index synchronized with the
cindex as we gradually implement more and more methods in Rust. This will
eventually be removed.
author | Rapha?l Gom?s <rgomes@octobus.net> |
---|---|
date | Tue, 27 Jun 2023 17:34:51 +0200 |
parents | a93e52f0b6ff |
children | 13f58ce70299 |
line wrap: on
line diff
--- a/mercurial/revlog.py Tue Jun 27 16:32:09 2023 +0200 +++ b/mercurial/revlog.py Tue Jun 27 17:34:51 2023 +0200 @@ -226,7 +226,7 @@ def parse_index_v1_mixed(data, inline): index, cache = parse_index_v1(data, inline) - return rustrevlog.MixedIndex(index), cache + return rustrevlog.MixedIndex(index, data), cache # corresponds to uncompressed length of indexformatng (2 gigs, 4-byte