mercurial/debugcommands.py
branchstable
changeset 50689 a45460e235a2
parent 50347 af776c3d5c3e
child 50718 0ab3956540a6
--- a/mercurial/debugcommands.py	Sat Jun 17 04:05:18 2023 +0200
+++ b/mercurial/debugcommands.py	Sat Jun 17 04:05:53 2023 +0200
@@ -2137,7 +2137,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))