mercurial/debugcommands.py
changeset 50718 0ab3956540a6
parent 50644 89556caf3c66
parent 50689 a45460e235a2
child 50928 d718eddf01d9
--- a/mercurial/debugcommands.py	Wed Jun 21 14:00:50 2023 -0400
+++ b/mercurial/debugcommands.py	Thu Jun 22 11:28:17 2023 +0200
@@ -2146,7 +2146,7 @@
         ),
     )
     re2 = b'missing'
-    if util._re2:
+    if util.has_re2():
         re2 = b'available'
     fm.plain(_(b'checking "re2" regexp engine (%s)\n') % re2)
     fm.data(re2=bool(util._re2))