Wow, I admit I had to Google somewhat to find the cause for this problem. The problem (and cause for it) is described here:
http://trac.edgewall.org/ticket/5097
Basically, revision 25 is an "empty revision", identical to revision 24. This causes Trac to stumble when viewing the changeset.