diff src/com/tmate/hgkit/ll/HgDataFile.java @ 49:26e3eeaa3962

branch and user filtering for log operation
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Sat, 15 Jan 2011 01:15:38 +0100
parents e34f90b9ded1
children 9429c7bd1920 576d6e8a09f6
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/HgDataFile.java	Fri Jan 14 23:22:20 2011 +0100
+++ b/src/com/tmate/hgkit/ll/HgDataFile.java	Sat Jan 15 01:15:38 2011 +0100
@@ -33,8 +33,7 @@
 	}
 
 	public int length(Nodeid nodeid) {
-		int revision = content.findLocalRevisionNumber(nodeid);
-		return content.dataLength(revision);
+		return content.dataLength(getLocalRevisionNumber(nodeid));
 	}
 
 	public byte[] content() {