Community
Participate
Working Groups
Build Identifier: 20100218-1602 In the history view Subversive displays "funny" dates for some revisions. These look fine when viewed using e. g. TortoiseSVN or another SVN client. It appears that when hitting "Refresh" in the history view, most of the time the problem goes away. I have not looked at the code, but this might be an issue with a DateFormat instance being reused from multiple threads. This is not stable and can lead to completely wrong date displays. Some time ago I submitted a new detector for that to FindBugs. See the description here. http://findbugs.sourceforge.net/bugDescriptions.html#STCAL_INVOKE_ON_STATIC_DATE_FORMAT_INSTANCE I will attach screenshots of the History view and the same range of revisions as shown by TortoiseSVN. Reproducible: Sometimes Steps to Reproduce: 1. Show history of a directory 2. Sometimes observe the problem 3. Hit Refresh in the history view toolbar to make it go away
Created attachment 175719 [details] Subversive History View
Created attachment 175720 [details] TortoiseSVN History View
We have also noticed these issues. The dates are in some cases from the future (e.g. 2020) and in some cases not displayed at all ("no date").
There were calls to the static instances in the SVN JavaHL API. So, now this unsafe code is avoided by copying reworked parts of the SVN JavaHL API implementation into the Subversive code. Hope it will solve the issue, because otherwise it will lead us into the depths of the SVN Client libraries implementation and we will be unable to do anything.