mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-11 16:05:44 +01:00
fix wrong total result
This commit is contained in:
@@ -149,6 +149,15 @@ public class HgChangesetViewer implements ChangesetViewer
|
||||
|
||||
if (changesetList != null)
|
||||
{
|
||||
if (total == -1)
|
||||
{
|
||||
total = 0;
|
||||
}
|
||||
else
|
||||
{
|
||||
total++;
|
||||
}
|
||||
|
||||
changesets = new ChangesetPagingResult(total, changesetList);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user