diff src/org/tmatesoft/hg/internal/ChangelogHelper.java @ 367:2fadf8695f8a

Use 'revision index' instead of the vague 'local revision number' concept in the API
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 16 Dec 2011 15:37:27 +0100
parents 5f9073eabf06
children 6e37c7168585
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/ChangelogHelper.java	Fri Dec 16 04:43:18 2011 +0100
+++ b/src/org/tmatesoft/hg/internal/ChangelogHelper.java	Fri Dec 16 15:37:27 2011 +0100
@@ -63,7 +63,7 @@
 		if (!df.exists()) {
 			return null;
 		}
-		int changelogRev = df.getChangesetLocalRevision(HgRepository.TIP);
+		int changelogRev = df.getChangesetRevisionIndex(HgRepository.TIP);
 		if (changelogRev >= leftBoundary) {
 			// the method is likely to be invoked for different files, 
 			// while changesets might be the same. Cache 'em not to read too much.