Package org.tmatesoft.hg.internal.RevlogDump

Examples of org.tmatesoft.hg.internal.RevlogDump.RevlogReader.done()


    byte[] result = seqPatch.apply(baseRevisionContent, rr.actualLen);
//    byte[] result = normalizedPatch.apply(baseRevisionContent, rr.actualLen);
    final long end2 = System.currentTimeMillis();
    byte[] origin = getRevisionTrueContent(indexFile.getParentFile(), rr.entryIndex, rr.linkRevision);
    final long end3 = System.currentTimeMillis();
    rr.done();
    System.out.printf("Collected patches up to revision %d. Patches total: %d, sequentialPatch contains %d elements, normalized: %d\n", rr.entryIndex, rr.entryIndex - startEntryIndex + 1, seqPatch.count(), normalizedPatch.count());
    if (!Arrays.equals(result, origin)) {
      if (shallDumpDiff) {
        diff(result, origin);
        dumpLineDifference(result, origin);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.