summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Peres <martin.peres@linux.intel.com>2017-05-02 21:56:49 +0300
committerMartin Peres <martin.peres@linux.intel.com>2017-10-04 17:48:28 +0300
commitfffb6d2154915935fc96ac7a8111110eebeb15e6 (patch)
treedc6698dc1652545541a7a7bdbb11528a24c67561
parent40ccc02f09e2f376970a8314149b1051180579d2 (diff)
scm: store the repo_path in the repos
-rwxr-xr-xpython-modules/ezbench/scm.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/python-modules/ezbench/scm.py b/python-modules/ezbench/scm.py
index 2fcccdc..fe3d7ba 100755
--- a/python-modules/ezbench/scm.py
+++ b/python-modules/ezbench/scm.py
@@ -412,6 +412,7 @@ class GitRepo:
repo_path: A valid path to the git repo
"""
+ self.repo_path = repo_path
self.repo = pygit2.Repository(repo_path)
self._cached_merged_bases = dict()
@@ -638,6 +639,7 @@ class NoRepo:
repo_path: A valid path to the git repo
"""
+ self.repo_path = repo_path
self._desc = dict()
self._version_graph = ResultsDAG(self)
self._first_version = None