# HG changeset patch # User Pierre-Yves David <pierre-yves.david@octobus.net> # Date 1569317424 -7200 # Tue Sep 24 11:30:24 2019 +0200 # Node ID 1907035491faab94ecf62db91d81b162a851571c # Parent 6ccb62a0dee4e26b4c2e489ecba7b7465b6b6ecb benchmark: document the env tricks a bit better This is surprising and source of error. So we better improve the documentation a bit. diff --git a/benchmarks/utils/__init__.py b/benchmarks/utils/__init__.py --- a/benchmarks/utils/__init__.py +++ b/benchmarks/utils/__init__.py @@ -318,8 +318,11 @@ reference_basename = "{}-reference".format(self.repo_name) self.repo_path = os.path.join(REPOS_DIR, reference_basename) - # Use a clean environ to run command + ### Use a clean environ to run command + # + # (We rely on running from the vevn using an explicite path) self.environ = {'HGRCPATH': ''} + # keep some environment variables # SSH_AUTH_SOCK for hg over ssh for key in ('SSH_AUTH_SOCK',):