Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/RevlogStream.java @ 559:6ca3d0c5b4bc
Commit: tests and fixes for defects discovered
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Mon, 25 Feb 2013 19:48:20 +0100 |
| parents | 9edfd5a223b8 |
| children | 5d7399ade999 |
comparison
equal
deleted
inserted
replaced
| 558:154718ae23ed | 559:6ca3d0c5b4bc |
|---|---|
| 346 baseRevisionsCopy[baseRevisions.length] = baseRevisionIndex; | 346 baseRevisionsCopy[baseRevisions.length] = baseRevisionIndex; |
| 347 baseRevisions = baseRevisionsCopy; | 347 baseRevisions = baseRevisionsCopy; |
| 348 if (inline && indexRecordOffset != null) { | 348 if (inline && indexRecordOffset != null) { |
| 349 assert indexRecordOffset.length == revisionIndex; | 349 assert indexRecordOffset.length == revisionIndex; |
| 350 int[] indexRecordOffsetCopy = new int[indexRecordOffset.length + 1]; | 350 int[] indexRecordOffsetCopy = new int[indexRecordOffset.length + 1]; |
| 351 System.arraycopy(indexRecordOffset, 0, indexRecordOffsetCopy, 0, indexRecordOffset.length); | |
| 351 indexRecordOffsetCopy[indexRecordOffset.length] = offsetFieldToInlineFileOffset(revisionOffset, revisionIndex); | 352 indexRecordOffsetCopy[indexRecordOffset.length] = offsetFieldToInlineFileOffset(revisionOffset, revisionIndex); |
| 352 indexRecordOffset = indexRecordOffsetCopy; | 353 indexRecordOffset = indexRecordOffsetCopy; |
| 353 } | 354 } |
| 354 } | 355 } |
| 355 | 356 |
