diff src/org/tmatesoft/hg/internal/RevlogStreamWriter.java @ 532:688c1ab113bb

Introduce explicit reference to base patch in bundle's group element, use it when cloning to fix defect when few revisions list null,null parents
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 23 Jan 2013 19:14:15 +0100
parents 0f6fa88e2162
children e6f72c9829a6
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/internal/RevlogStreamWriter.java	Wed Jan 23 18:03:13 2013 +0100
+++ b/src/org/tmatesoft/hg/internal/RevlogStreamWriter.java	Wed Jan 23 19:14:15 2013 +0100
@@ -26,6 +26,8 @@
 
 /**
  * 
+ * TODO check if index is too big and split into index+data
+ * 
  * @author Artem Tikhomirov
  * @author TMate Software Ltd.
  */
@@ -50,6 +52,10 @@
 			return this;
 		}
 		
+		public int baseRevision() {
+			return baseRev;
+		}
+		
 		public HeaderWriter baseRevision(int baseRevision) {
 			this.baseRev = baseRevision;
 			return this;