Trim whitespace from revision number, which may cause build issues.

This commit is contained in:
the_fiddler 2010-11-15 21:10:36 +00:00
parent d9eaf4562c
commit e91af6c70b

View file

@ -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[]
{