-
Bug
-
Resolution: Fixed
-
Minor
-
None
When not using the default value for manifest branch, the method getLastState in class RepoScm does not retrieve a valid last state. This leads to an empty changelog.
This is due to the string comparison :
if (lastState != null && lastState.getBranch() == manifestBranch)
It does not work unless branch is 'null'.
Something like that works better :
if (lastState != null
&& ((lastState.getBranch() == null && manifestBranch == null)
(lastState.getBranch().equals(manifestBranch)))) { |
---|