comparison src/org/tmatesoft/hg/repo/HgChangelog.java @ 600:46f29b73e51e

Utilize RevisionLookup to speed-up getRevisionIndex of both manifest and changelog
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Fri, 03 May 2013 17:03:31 +0200
parents c18095eedde0
children 6526d8adbc0f
comparison
equal deleted inserted replaced
599:55b7987c1796 600:46f29b73e51e
48 * @author TMate Software Ltd. 48 * @author TMate Software Ltd.
49 */ 49 */
50 public final class HgChangelog extends Revlog { 50 public final class HgChangelog extends Revlog {
51 51
52 /* package-local */HgChangelog(HgRepository hgRepo, RevlogStream content) { 52 /* package-local */HgChangelog(HgRepository hgRepo, RevlogStream content) {
53 super(hgRepo, content); 53 super(hgRepo, content, true);
54 } 54 }
55 55
56 public void all(final HgChangelog.Inspector inspector) throws HgInvalidRevisionException, HgInvalidControlFileException { 56 public void all(final HgChangelog.Inspector inspector) throws HgInvalidRevisionException, HgInvalidControlFileException {
57 range(0, getLastRevision(), inspector); 57 range(0, getLastRevision(), inspector);
58 } 58 }