mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-06 12:20:56 +01:00
fix mercurial paging bug
This commit is contained in:
@@ -123,7 +123,7 @@ public class HgChangesetViewer implements ChangesetViewer
|
||||
String repositoryPath = getRepositoryPath(repository);
|
||||
int total = getTotalChangesets(repositoryPath);
|
||||
int startRev = total - start;
|
||||
int endRev = startRev - max;
|
||||
int endRev = total - start - (max - 1);
|
||||
|
||||
if (endRev < 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user