Mercurial > hg4j
comparison test/org/tmatesoft/hg/test/TestRevlog.java @ 586:73c20c648c1f
HgCommitCommand initial support
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 26 Apr 2013 18:38:41 +0200 |
parents | ed243b668502 |
children | 6526d8adbc0f |
comparison
equal
deleted
inserted
replaced
585:b47ef0d2777b | 586:73c20c648c1f |
---|---|
54 final boolean thoroughCheck = Boolean.FALSE.booleanValue(); | 54 final boolean thoroughCheck = Boolean.FALSE.booleanValue(); |
55 // | 55 // |
56 RevlogReader rr = new RevlogReader(indexFile); | 56 RevlogReader rr = new RevlogReader(indexFile); |
57 rr.init(true); | 57 rr.init(true); |
58 rr.needData(true); | 58 rr.needData(true); |
59 int startEntryIndex = 76507 + 100; // 150--87 | 59 int startEntryIndex = 76507; // 150--87 |
60 rr.startFrom(startEntryIndex); | 60 rr.startFrom(startEntryIndex); |
61 rr.readNext(); | 61 rr.readNext(); |
62 final long s0 = System.currentTimeMillis(); | 62 final long s0 = System.currentTimeMillis(); |
63 ByteBuffer baseRevision = null; | 63 ByteBuffer baseRevision = null; |
64 if (rr.isPatch()) { | 64 if (rr.isPatch()) { |