@@ -258,6 +258,10 @@ document.domReady.push(function() {domReadyHistory();});
258
258
<%
259
259
int count= 0 ;
260
260
for (HistoryEntry entry : hist. getHistoryEntries(maxItems, startIndex)) {
261
+ String dispRev = entry. getDisplayRevision();
262
+ if (dispRev == null || dispRev. length() == 0 ) {
263
+ dispRev = " " ;
264
+ }
261
265
String rev = entry. getRevision();
262
266
if (rev == null || rev. length() == 0 ) {
263
267
rev = " " ;
@@ -281,7 +285,7 @@ document.domReady.push(function() {domReadyHistory();});
281
285
<tr ><%
282
286
if (cfg. isDir()) {
283
287
% >
284
- <td ><%= rev % > </td ><%
288
+ <td ><%= dispRev % > </td ><%
285
289
} else {
286
290
if (entry. isActive()) {
287
291
StringBuffer urlBuffer = request. getRequestURL();
@@ -293,7 +297,7 @@ document.domReady.push(function() {domReadyHistory();});
293
297
<td ><a href =" <%= urlBuffer % >"
294
298
title =" link to revision line" >#</a >
295
299
<a href =" <%= context + Prefix . XREF_P + uriEncodedName + " ?" +
296
- QueryParameters . REVISION_PARAM_EQ + Util . uriEncode(rev) % >" ><%= rev % >
300
+ QueryParameters . REVISION_PARAM_EQ + Util . uriEncode(rev) % >" ><%= dispRev % >
297
301
</a ></td >
298
302
<td ><%
299
303
% > <input type =" radio"
@@ -335,7 +339,7 @@ document.domReady.push(function() {domReadyHistory();});
335
339
} else {
336
340
striked = true ;
337
341
% >
338
- <td ><del ><%= rev % > </del ></td >
342
+ <td ><del ><%= dispRev % > </del ></td >
339
343
<td ></td ><%
340
344
}
341
345
}
@@ -358,7 +362,7 @@ document.domReady.push(function() {domReadyHistory();});
358
362
% ><%= Util . htmlize(author) % ><%
359
363
}
360
364
% > </td >
361
- <td ><a name =" <%= rev % >" ></a ><%
365
+ <td ><a name =" <%= dispRev % >" ></a ><%
362
366
// revision message collapse threshold minimum of 10
363
367
int summaryLength = Math . max(10 , cfg. getRevisionMessageCollapseThreshold());
364
368
String cout = Util . htmlize(entry. getMessage());
0 commit comments