D8226: debuginstall: add entry about re2 Rust bindings when applicable

2020-03-11 Thread Raphaël Gomès
Closed by commit rHGc989737158aa: debuginstall: add entry about re2 Rust 
bindings when applicable (authored by Alphare).
This revision was automatically updated to reflect the committed changes.
This revision was not accepted when it landed; it landed in state "Needs 
Review".

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8226?vs=20707=20725

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8226/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8226

AFFECTED FILES
  mercurial/debugcommands.py
  tests/test-install.t

CHANGE DETAILS

diff --git a/tests/test-install.t b/tests/test-install.t
--- a/tests/test-install.t
+++ b/tests/test-install.t
@@ -18,6 +18,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... (*) (glob)
@@ -77,6 +78,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... (*) (glob)
@@ -124,6 +126,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... ($TESTTMP/tools/testeditor.exe)
@@ -151,6 +154,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... (c:\foo\bar\baz.exe) (windows !)
@@ -207,6 +211,7 @@
   checking available compression engines (*) (glob)
   checking available compression engines for wire protocol (*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates 
($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob)
   checking default template 
($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) 
(glob)
   checking commit editor... (*) (glob)
@@ -247,6 +252,7 @@
   checking available compression engines (*) (glob)
   checking available compression engines for wire protocol (*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates 
($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob)
   checking default template 
($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) 
(glob)
   checking commit editor... (*) (glob)
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -1650,6 +1650,13 @@
 fm.plain(_(b'checking "re2" regexp engine (%s)\n') % re2)
 fm.data(re2=bool(util._re2))
 
+rust_debug_mod = policy.importrust("debug")
+if rust_debug_mod is not None:
+re2_rust = b'installed' if rust_debug_mod.re2_installed else b'missing'
+
+msg = b'checking "re2" regexp engine Rust bindings (%s)\n'
+fm.plain(_(msg % re2_rust))
+
 # templates
 p = templater.templatepaths()
 fm.write(b'templatedirs', b'checking templates (%s)...\n', b' '.join(p))



To: Alphare, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D8226: debuginstall: add entry about re2 Rust bindings when applicable

2020-03-11 Thread Raphaël Gomès
Alphare updated this revision to Diff 20707.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8226?vs=20562=20707

BRANCH
  default

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8226/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8226

AFFECTED FILES
  mercurial/debugcommands.py
  tests/test-install.t

CHANGE DETAILS

diff --git a/tests/test-install.t b/tests/test-install.t
--- a/tests/test-install.t
+++ b/tests/test-install.t
@@ -18,6 +18,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... (*) (glob)
@@ -77,6 +78,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... (*) (glob)
@@ -124,6 +126,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... ($TESTTMP/tools/testeditor.exe)
@@ -151,6 +154,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... (c:\foo\bar\baz.exe) (windows !)
@@ -207,6 +211,7 @@
   checking available compression engines (*) (glob)
   checking available compression engines for wire protocol (*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates 
($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob)
   checking default template 
($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) 
(glob)
   checking commit editor... (*) (glob)
@@ -247,6 +252,7 @@
   checking available compression engines (*) (glob)
   checking available compression engines for wire protocol (*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates 
($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob)
   checking default template 
($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) 
(glob)
   checking commit editor... (*) (glob)
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -1650,6 +1650,13 @@
 fm.plain(_(b'checking "re2" regexp engine (%s)\n') % re2)
 fm.data(re2=bool(util._re2))
 
+rust_debug_mod = policy.importrust("debug")
+if rust_debug_mod is not None:
+re2_rust = b'installed' if rust_debug_mod.re2_installed else b'missing'
+
+msg = b'checking "re2" regexp engine Rust bindings (%s)\n'
+fm.plain(_(msg % re2_rust))
+
 # templates
 p = templater.templatepaths()
 fm.write(b'templatedirs', b'checking templates (%s)...\n', b' '.join(p))



To: Alphare, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D8226: debuginstall: add entry about re2 Rust bindings when applicable

2020-03-06 Thread Raphaël Gomès
Alphare updated this revision to Diff 20562.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8226?vs=20560=20562

BRANCH
  default

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8226/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8226

AFFECTED FILES
  mercurial/debugcommands.py
  tests/test-install.t

CHANGE DETAILS

diff --git a/tests/test-install.t b/tests/test-install.t
--- a/tests/test-install.t
+++ b/tests/test-install.t
@@ -17,6 +17,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... (*) (glob)
@@ -75,6 +76,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... (*) (glob)
@@ -121,6 +123,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... ($TESTTMP/tools/testeditor.exe)
@@ -147,6 +150,7 @@
   checking available compression engines (*zlib*) (glob)
   checking available compression engines for wire protocol (*zlib*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates (*mercurial?templates)... (glob)
   checking default template (*mercurial?templates?map-cmdline.default) (glob)
   checking commit editor... (c:\foo\bar\baz.exe) (windows !)
@@ -202,6 +206,7 @@
   checking available compression engines (*) (glob)
   checking available compression engines for wire protocol (*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates 
($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob)
   checking default template 
($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) 
(glob)
   checking commit editor... (*) (glob)
@@ -241,6 +246,7 @@
   checking available compression engines (*) (glob)
   checking available compression engines for wire protocol (*) (glob)
   checking "re2" regexp engine \((available|missing)\) (re)
+  checking "re2" regexp engine Rust bindings \((installed|missing)\) (re)
   checking templates 
($TESTTMP/installenv/*/site-packages/mercurial/templates)... (glob)
   checking default template 
($TESTTMP/installenv/*/site-packages/mercurial/templates/map-cmdline.default) 
(glob)
   checking commit editor... (*) (glob)
diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -1636,6 +1636,13 @@
 fm.plain(_(b'checking "re2" regexp engine (%s)\n') % re2)
 fm.data(re2=bool(util._re2))
 
+rust_debug_mod = policy.importrust("debug")
+if rust_debug_mod is not None:
+re2_rust = b'installed' if rust_debug_mod.re2_installed else b'missing'
+
+msg = b'checking "re2" regexp engine Rust bindings (%s)\n'
+fm.plain(_(msg % re2_rust))
+
 # templates
 p = templater.templatepaths()
 fm.write(b'templatedirs', b'checking templates (%s)...\n', b' '.join(p))



To: Alphare, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D8226: debuginstall: add entry about re2 Rust bindings when applicable

2020-03-06 Thread Raphaël Gomès
Alphare updated this revision to Diff 20560.

REPOSITORY
  rHG Mercurial

CHANGES SINCE LAST UPDATE
  https://phab.mercurial-scm.org/D8226?vs=20504=20560

BRANCH
  default

CHANGES SINCE LAST ACTION
  https://phab.mercurial-scm.org/D8226/new/

REVISION DETAIL
  https://phab.mercurial-scm.org/D8226

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -1636,6 +1636,13 @@
 fm.plain(_(b'checking "re2" regexp engine (%s)\n') % re2)
 fm.data(re2=bool(util._re2))
 
+rust_debug_mod = policy.importrust("debug")
+if rust_debug_mod is not None:
+re2_rust = b'installed' if rust_debug_mod.re2_installed else b'missing'
+
+msg = b'checking "re2" regexp engine Rust bindings (%s)\n'
+fm.plain(_(msg % re2_rust))
+
 # templates
 p = templater.templatepaths()
 fm.write(b'templatedirs', b'checking templates (%s)...\n', b' '.join(p))



To: Alphare, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel


D8226: debuginstall: add entry about re2 Rust bindings when applicable

2020-03-05 Thread Raphaël Gomès
Alphare created this revision.
Herald added a subscriber: mercurial-devel.
Herald added a reviewer: hg-reviewers.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D8226

AFFECTED FILES
  mercurial/debugcommands.py

CHANGE DETAILS

diff --git a/mercurial/debugcommands.py b/mercurial/debugcommands.py
--- a/mercurial/debugcommands.py
+++ b/mercurial/debugcommands.py
@@ -1635,6 +1635,13 @@
 fm.plain(_(b'checking "re2" regexp engine (%s)\n') % re2)
 fm.data(re2=bool(util._re2))
 
+rust_debug_mod = policy.importrust("debug")
+if rust_debug_mod is not None:
+re2_rust = b'installed' if rust_debug_mod.re2_installed else b'missing'
+
+msg = b'checking "re2" regexp engine Rust bindings (%s)\n'
+fm.plain(_(msg % re2_rust))
+
 # templates
 p = templater.templatepaths()
 fm.write(b'templatedirs', b'checking templates (%s)...\n', b' '.join(p))



To: Alphare, #hg-reviewers
Cc: mercurial-devel
___
Mercurial-devel mailing list
Mercurial-devel@mercurial-scm.org
https://www.mercurial-scm.org/mailman/listinfo/mercurial-devel