diff rust/hg-core/src/requirements.rs @ 46090:9eb07ab3f2d4

rhg: use persistent nodemap when available … for node ID → revision number lookups, instead on linear scan in a revlog. Differential Revision: https://phab.mercurial-scm.org/D9520
author Simon Sapin <simon-commits@exyr.org>
date Fri, 04 Dec 2020 17:27:10 +0100
parents 40f79997e81f
children 8a4914397d02
line wrap: on
line diff
--- a/rust/hg-core/src/requirements.rs	Mon Dec 07 18:06:53 2020 +0100
+++ b/rust/hg-core/src/requirements.rs	Fri Dec 04 17:27:10 2020 +0100
@@ -69,4 +69,8 @@
     "revlogv1",
     "sparserevlog",
     "store",
+    // As of this writing everything rhg does is read-only.
+    // When it starts writing to the repository, it’ll need to either keep the
+    // persistent nodemap up to date or remove this entry:
+    "persistent-nodemap",
 ];