NIHVIVO-1581 If we aren't able to get the information from Subversion, no matter what the reason, look for a hard-coded value in a file before going with dummy values.
This commit is contained in:
parent
bf94f81adc
commit
3c3e160d68
1 changed files with 8 additions and 0 deletions
|
@ -70,7 +70,15 @@ public class RevisionInfoBuilder {
|
||||||
}
|
}
|
||||||
|
|
||||||
String release = assembleReleaseNameFromSubversion();
|
String release = assembleReleaseNameFromSubversion();
|
||||||
|
if (release == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
String revision = obtainRevisionLevelFromSubversion();
|
String revision = obtainRevisionLevelFromSubversion();
|
||||||
|
if (revision == null) {
|
||||||
|
return null;
|
||||||
|
}
|
||||||
|
|
||||||
return buildLine(release, revision);
|
return buildLine(release, revision);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue