diff --git a/rust/hg-core/src/revlog/filelog.rs b/rust/hg-core/src/revlog/filelog.rs --- a/rust/hg-core/src/revlog/filelog.rs +++ b/rust/hg-core/src/revlog/filelog.rs @@ -1,6 +1,5 @@ use crate::errors::HgError; use crate::repo::Repo; -use crate::requirements; use crate::revlog::path_encode::path_encode; use crate::revlog::revlog::RevlogEntry; use crate::revlog::revlog::{Revlog, RevlogError}; @@ -21,11 +20,7 @@ pub fn open(repo: &Repo, file_path: &HgPath) -> Result { let index_path = store_path(file_path, b".i"); let data_path = store_path(file_path, b".d"); - let use_nodemap = repo - .requirements() - .contains(requirements::NODEMAP_REQUIREMENT); - let revlog = - Revlog::open(repo, index_path, Some(&data_path), use_nodemap)?; + let revlog = Revlog::open(repo, index_path, Some(&data_path), false)?; Ok(Self { revlog }) }