mercurial/revlogutils/nodemap.py
changeset 44789 6b01799e9db0
parent 44788 6493f0a567c2
child 44790 261e71752d1f
--- a/mercurial/revlogutils/nodemap.py	Tue Apr 14 02:45:05 2020 +0200
+++ b/mercurial/revlogutils/nodemap.py	Tue Apr 14 03:01:52 2020 +0200
@@ -148,6 +148,8 @@
         msg = _(b"persistent nodemap in strict mode without efficient method")
         if mode == b'warn':
             tr._report(b"%s\n" % msg)
+        elif mode == b'strict':
+            raise error.Abort(msg)
 
     data = None
     # first attemp an incremental update of the data