From 72aa92c74b49311738433cf2abc7fee4090226bf Mon Sep 17 00:00:00 2001 From: jakubs <jakubs> Date: Mon, 3 Nov 2014 14:44:34 +0000 Subject: [PATCH] don't throw exception when building with git if there is a local commit at the HEAD SVN: 32706 --- gradle/javaproject.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gradle/javaproject.gradle b/gradle/javaproject.gradle index 6a072153cc8..ce458e66868 100644 --- a/gradle/javaproject.gradle +++ b/gradle/javaproject.gradle @@ -135,7 +135,7 @@ def findGitSvnVersion(lines) { return a.split("@")[1].split()[0].toInteger() } } - throw new Exception("Couldn't get svn version from git") + return "LOCAL_COMMIT" } def calculateBuildInfo() { -- GitLab