- Remove the string "-r15897" from the title bar but not other SVN rev numbers.

This commit is contained in:
Chris
2012-06-25 15:45:29 +00:00
parent 467fd48d0e
commit 0a16f7892a

View File

@@ -118,6 +118,14 @@ public class BuildInfo {
result = manifestResult;
}
// The code above will always return the SVN rev as "r15897" even with builds
// that are using a later revision for some unknown reason. This happens on
// Chris' dev system but not on Dave's dev system. We should note that many
// users are refering to the snapshot build by only using the SVS rev number
// and the code below may convince them to instead use the date of the archive.
if (result.endsWith("-r15897")) {
result = result.replace("-r15897", "");
}
return result;
}