summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--NEWS6
-rwxr-xr-xobbench4
2 files changed, 9 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index cba39cf..45c57a9 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,12 @@
NEWS file for obbench
=====================
+Version 0.9, released UNRELEASED
+--------------------------------
+
+* Fix clone of git repo to check out master, to fix test suite when
+ the Obnam git repo doesn't have master checked out.
+
Version 0.8, released 2016-02-06
--------------------------------
diff --git a/obbench b/obbench
index 13c875a..f719cad 100755
--- a/obbench
+++ b/obbench
@@ -57,7 +57,9 @@ class ObnamBenchmarker(cliapp.Application):
if os.path.exists(gitdir):
cliapp.runcmd(['git', 'pull'], cwd=gitdir)
else:
- cliapp.runcmd(['git', 'clone', spec['git'], gitdir])
+ cliapp.runcmd(
+ ['git', 'clone', '-b', 'master', spec['git'],
+ gitdir])
def gitdir(self, statedir):
return os.path.join(statedir, 'git')