# HG changeset patch # User Philippe Pepiot <philippe.pepiot@logilab.fr> # Date 1513179588 -3600 # Wed Dec 13 16:39:48 2017 +0100 # Node ID 68f65450ebed7abc25fa863bf1422084ff1cfa3b # Parent 2e74034c61404b25bb3591db6377b6c3a65861e0 Disable reading local hg config This avoid reading local hg config that may interfer with benchmarks results. Also we don't need the alias trick anymore when running hg commands. diff --git a/benchmarks/utils.py b/benchmarks/utils.py --- a/benchmarks/utils.py +++ b/benchmarks/utils.py @@ -149,7 +149,7 @@ self.repo_path = os.path.join(REPOS_DIR, self.repo_name) # Use a clean environ to run command - self.environ = {} + self.environ = {'HGRCPATH': ''} class BaseTrackTestSuite(BaseTestSuite): @@ -173,8 +173,6 @@ cmd = [ self.hgpath, "--cwd", self.repo_path, - # Add an alias to bypass potential one - "--config", "alias.%s=%s" % (command, command), command, ] + list(args)