diff -r 027bc364524b -r 8ed03f773eac mercurial/revlog.py --- a/mercurial/revlog.py Tue Oct 10 10:03:50 2023 +0200 +++ b/mercurial/revlog.py Tue Oct 10 10:03:58 2023 +0200 @@ -630,8 +630,6 @@ mmapindexthreshold = None if self._mmaplargeindex: mmapindexthreshold = self.data_config.mmap_index_threshold - if b'sparse-revlog' in opts: - self.delta_config.sparse_revlog = bool(opts[b'sparse-revlog']) if self.delta_config.sparse_revlog: # sparse-revlog forces sparse-read self.data_config.with_sparse_read = True