diff src/com/tmate/hgkit/ll/RevlogStream.java @ 53:a6f39e595b2b wrap-data-access

Merged changes from default branch
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Sun, 16 Jan 2011 01:40:38 +0100
parents 9429c7bd1920 30bd38978846
children
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/RevlogStream.java	Sun Jan 16 01:20:26 2011 +0100
+++ b/src/com/tmate/hgkit/ll/RevlogStream.java	Sun Jan 16 01:40:38 2011 +0100
@@ -323,6 +323,11 @@
 
 	// @see http://mercurial.selenic.com/wiki/BundleFormat, in Changelog group description
 	/*package-local*/ static class PatchRecord { // copy of struct frag from mpatch.c
+		/*
+		   Given there are pr1 and pr2:
+		     pr1.start to pr1.end will be replaced with pr's data (of pr1.len)
+		     pr1.end to pr2.start gets copied from base
+		 */
 		int start, end, len;
 		byte[] data;