diff src/org/tmatesoft/hg/repo/Revlog.java @ 197:3a7696fb457c

Investigate optimization options to allow fast processing of huge repositories. Fix defect in StatusCollector that lead to wrong result comparing first revision to empty repo (-1 to 0), due to same TIP constant value
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Tue, 19 Apr 2011 03:49:29 +0200
parents e5407b5a586a
children 114c9fe7b643
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/Revlog.java	Mon Apr 18 18:04:24 2011 +0200
+++ b/src/org/tmatesoft/hg/repo/Revlog.java	Tue Apr 19 03:49:29 2011 +0200
@@ -240,7 +240,7 @@
 					}
 				}
 			};
-			stream.iterate(0, -1, false, insp);
+			stream.iterate(0, TIP, false, insp);
 		}
 		
 		public Set<Nodeid> allNodes() {