diff src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java @ 537:5a455624be4f

Update javadoc for HgManifest.Inspector and fix erroneous internal API
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 05 Feb 2013 20:06:22 +0100
parents 27398bbfd543
children e1b29756f901
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java	Tue Feb 05 16:36:58 2013 +0100
+++ b/src/org/tmatesoft/hg/repo/HgWorkingCopyStatusCollector.java	Tue Feb 05 20:06:22 2013 +0100
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2011-2012 TMate Software Ltd
+ * Copyright (c) 2011-2013 TMate Software Ltd
  *  
  * This program is free software; you can redistribute it and/or modify
  * it under the terms of the GNU General Public License as published by
@@ -198,7 +198,7 @@
 			// as long as no nodeids can be provided for WC, seems reasonable to report
 			// latest known nodeid change (although at the moment this is not used and
 			// is done mostly not to leave stale initialization in the Record)
-			int rev1,rev2 = getDirstateParentManifest().changesetLocalRev();
+			int rev1,rev2 = getDirstateParentManifest().changesetRevisionIndex();
 			if (baseRevision == TIP || baseRevision == WORKING_COPY) {
 				rev1 = rev2 - 1; // just use revision prior to dirstate's parent
 			} else {