rust: stop claiming the C index is compatible with the rust code
authorPierre-Yves David <pierre-yves.david@octobus.net>
Fri, 23 Feb 2024 03:44:56 +0100
changeset 51427 d361d7bfb7dc
parent 51426 3099f1c68afd
child 51428 def497c75351
rust: stop claiming the C index is compatible with the rust code This is no longer the case since the introduction of the pure Rust Index, and was probably not the case since the MixedIndex itself. So we fix the dedicated attribute value.
mercurial/cext/revlog.c
--- a/mercurial/cext/revlog.c	Thu Feb 22 15:11:26 2024 +0100
+++ b/mercurial/cext/revlog.c	Fri Feb 23 03:44:56 2024 +0100
@@ -3226,7 +3226,6 @@
 	}
 
 	if (self->format_version == format_v1) {
-		self->rust_ext_compat = 1;
 		self->entry_size = v1_entry_size;
 	} else if (self->format_version == format_v2) {
 		self->entry_size = v2_entry_size;