changeset 52:30bd38978846

brief explanation of patch record
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Sun, 16 Jan 2011 01:30:18 +0100
parents f1db8610da62
children a6f39e595b2b fd4f2c98995b
files src/com/tmate/hgkit/ll/RevlogStream.java
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/RevlogStream.java	Sat Jan 15 01:41:49 2011 +0100
+++ b/src/com/tmate/hgkit/ll/RevlogStream.java	Sun Jan 16 01:30:18 2011 +0100
@@ -317,6 +317,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;