diff --git a/benchmarks/utils/__init__.py b/benchmarks/utils/__init__.py index 490eecd2d7ebbb8f52dea9c2de6e0d441acb2eec_YmVuY2htYXJrcy91dGlscy9fX2luaXRfXy5weQ==..eb14954664f1e767400874388ee09763ff60da4e_YmVuY2htYXJrcy91dGlscy9fX2luaXRfXy5weQ== 100644 --- a/benchmarks/utils/__init__.py +++ b/benchmarks/utils/__init__.py @@ -340,7 +340,6 @@ # Don't run if using Rust on a revision before the Rust modulepolicy # was introduced - if os.environ.get("HGMODULEPOLICY").startswith("rust"): # Don't use `subprocess.PIPE` as it can deadlock (see docs). # We capture `stderr` because the error message from `hg log` would # make it seem like there was a bug. @@ -352,6 +351,7 @@ "revision 94167e701e12" ", skipping." ) + if os.environ.get("HGMODULEPOLICY", '').startswith("rust"): def _matchrevset(self, revset, target_rev): """return True if <target-rev> is within <revset>"""