diff src/org/tmatesoft/hg/repo/HgDirstate.java @ 280:35125450c804

Erroneous and slow status for working copies based on non-tip revision
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 02 Sep 2011 13:40:09 +0200
parents a6d19adc2636
children 7232b94f2ae3
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgDirstate.java	Wed Aug 31 23:22:18 2011 +0200
+++ b/src/org/tmatesoft/hg/repo/HgDirstate.java	Fri Sep 02 13:40:09 2011 +0200
@@ -228,7 +228,9 @@
 	
 	/*package-local*/ static class Record {
 		final int mode;
-		final int size;
+		// it seems Dirstate keeps local file size (i.e. that with any filters already applied). 
+		// Thus, can't compare directly to HgDataFile.length()
+		final int size; 
 		final int time;
 		final String name1;
 		final String name2;