diff --git a/scm-perf/poulpe-scheduler-bin/auto-cases b/scm-perf/poulpe-scheduler-bin/auto-cases index d228808a81b7699f04afc11b883008f7e9ba70e9_c2NtLXBlcmYvcG91bHBlLXNjaGVkdWxlci1iaW4vYXV0by1jYXNlcw==..e2ae249fda9bc57b156ac0347c904c7574957e46_c2NtLXBlcmYvcG91bHBlLXNjaGVkdWxlci1iaW4vYXV0by1jYXNlcw== 100755 --- a/scm-perf/poulpe-scheduler-bin/auto-cases +++ b/scm-perf/poulpe-scheduler-bin/auto-cases @@ -28,10 +28,12 @@ f" {self.benchmark}" ) - +def mercurial_repository_path(base_dir): + return base_dir / "repos" / "mercurial" + def list_mercurial_variants(base_dir): """return a list of possible mercurial variants""" return ["default", "pure"] # lets keep it simple for now def list_mercurial_hashes(base_dir): """return a list of possible mercurial hashes""" @@ -32,10 +34,10 @@ def list_mercurial_variants(base_dir): """return a list of possible mercurial variants""" return ["default", "pure"] # lets keep it simple for now def list_mercurial_hashes(base_dir): """return a list of possible mercurial hashes""" - repo_dir = base_dir / "repos" / "mercurial" + repo_dir = mercurial_repository_path(base_dir) cmd = [ "hg", "log",