I thought I have added subversion-scm (Version: 2.6) as module, but ...
I listed the Jenkins version under "Environment": jenkins 2.19
Florian Doersch
added a comment - I thought I have added subversion-scm (Version: 2.6) as module, but ...
I listed the Jenkins version under "Environment": jenkins 2.19
Daniel Beck
added a comment - Weird, I've never seen this and there seem to be no recent changes there. Additionally, from reading the code, it looks sane.
Core iterates over changes…
https://github.com/jenkinsci/jenkins/blob/55e23a3d936762fc9abae876139d4fa6150a2c82/core/src/main/resources/hudson/scm/SCM/project-changes.jelly#L51
… and says newer need to be before older…
https://github.com/jenkinsci/jenkins/blob/55e23a3d936762fc9abae876139d4fa6150a2c82/core/src/main/java/hudson/scm/ChangeLogSet.java#L50
… SVN's iterator doesn't do anything noteworthy…
https://github.com/jenkinsci/subversion-plugin/blob/fe86c32c504bc81fb9aefe68f365c21c3cd16075/src/main/java/hudson/scm/SubversionChangeLogSet.java#L90
… the collection gets set in the constructor…
https://github.com/jenkinsci/subversion-plugin/blob/fe86c32c504bc81fb9aefe68f365c21c3cd16075/src/main/java/hudson/scm/SubversionChangeLogSet.java#L77
… and the method that creates the list actually sorts.
https://github.com/jenkinsci/subversion-plugin/blob/57460ce3cfb0885fce878c47eafec45e83e2fc00/src/main/java/hudson/scm/SubversionChangeLogSet.java#L110
I think I have some more info about that:
since there are 2 different repositories in the changelog, multiple revision ranges are in the changelog.xml.
It seems that the changes are sorted by date. thats why they look unsorted
Florian Doersch
added a comment - I think I have some more info about that:
since there are 2 different repositories in the changelog, multiple revision ranges are in the changelog.xml.
It seems that the changes are sorted by date. thats why they look unsorted
oh and I forgot:
the changelog.xml file is sorted - so it seems it only does not sort on display