fix wrong total result

This commit is contained in:
Sebastian Sdorra
2011-08-06 22:00:23 +02:00
parent 91d1afb845
commit 4c6f7d8401

View File

@@ -149,6 +149,15 @@ public class HgChangesetViewer implements ChangesetViewer
if (changesetList != null)
{
if (total == -1)
{
total = 0;
}
else
{
total++;
}
changesets = new ChangesetPagingResult(total, changesetList);
}
}