From 8fa595cca7e816b09b5d728a62e4d51a3214c3c2 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Sun, 26 Jan 2014 05:01:42 -0500 Subject: [PATCH] build: Fix exception if we don't have a previous build --- src/autobuilder/js/tasks/task-build.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/autobuilder/js/tasks/task-build.js b/src/autobuilder/js/tasks/task-build.js index 323ca0fd..86421789 100644 --- a/src/autobuilder/js/tasks/task-build.js +++ b/src/autobuilder/js/tasks/task-build.js @@ -87,7 +87,7 @@ const TaskBuild = new Lang.Class({ print("Build of " + productName + " failed"); return [this.BuildState.failed, origRevision]; } - let [,newRevision] = this.ostreeRepo.resolve_rev(ref, false); + let [,newRevision] = this.ostreeRepo.resolve_rev(ref, true); if (origRevision == newRevision) return [this.BuildState.unchanged, newRevision]; return [this.BuildState.successful, newRevision];