diff src/org/tmatesoft/hg/repo/HgChangelog.java @ 135:3959bffb14e9

explicit op name instead math op to get last rev number
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 16 Feb 2011 22:00:39 +0100
parents 645829962785
children 144d771ee73c
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgChangelog.java	Wed Feb 16 21:51:32 2011 +0100
+++ b/src/org/tmatesoft/hg/repo/HgChangelog.java	Wed Feb 16 22:00:39 2011 +0100
@@ -44,7 +44,7 @@
 	}
 
 	public void all(final HgChangelog.Inspector inspector) {
-		range(0, content.revisionCount() - 1, inspector);
+		range(0, lastRevision(), inspector);
 	}
 
 	public void range(int start, int end, final HgChangelog.Inspector inspector) {