diff mercurial/debugcommands.py @ 50715:0ab3956540a6

branching: merge stable into default
author Rapha?l Gom?s <rgomes@octobus.net>
date Thu, 22 Jun 2023 11:28:17 +0200
parents 89556caf3c66 a45460e235a2
children d718eddf01d9
line wrap: on
line diff
--- 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))