From e91af6c70be5b5fcce05b99c23fefcd1584c362a Mon Sep 17 00:00:00 2001 From: the_fiddler Date: Mon, 15 Nov 2010 21:10:36 +0000 Subject: [PATCH] Trim whitespace from revision number, which may cause build issues. --- Source/Build.UpdateVersion/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Build.UpdateVersion/Program.cs b/Source/Build.UpdateVersion/Program.cs index caaac6fa..71b59caf 100644 --- a/Source/Build.UpdateVersion/Program.cs +++ b/Source/Build.UpdateVersion/Program.cs @@ -89,7 +89,7 @@ namespace Build.UpdateVersion string build = ((int)timespan).ToString(); string revision = RetrieveSvnRevision() ?? RetrieveBzrRevision() ?? RetrieveSeconds(timespan); - //string revision = RetrieveSvnRevision() ?? RetrieveSeconds(timespan); + revision = revision.Trim(); File.WriteAllLines(file, new string[] {