comparison src/org/tmatesoft/hg/repo/HgDataFile.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 e4ee4bf4c7d0
children e3717fc7d26f
comparison
equal deleted inserted replaced
599:55b7987c1796 600:46f29b73e51e
65 // repo location agnostic, just to give info to user, not to access real storage 65 // repo location agnostic, just to give info to user, not to access real storage
66 private final Path path; 66 private final Path path;
67 private Metadata metadata; // get initialized on first access to file content. 67 private Metadata metadata; // get initialized on first access to file content.
68 68
69 /*package-local*/HgDataFile(HgRepository hgRepo, Path filePath, RevlogStream content) { 69 /*package-local*/HgDataFile(HgRepository hgRepo, Path filePath, RevlogStream content) {
70 super(hgRepo, content); 70 super(hgRepo, content, false);
71 path = filePath; 71 path = filePath;
72 } 72 }
73 73
74 /*package-local*/HgDataFile(HgRepository hgRepo, Path filePath) { 74 /*package-local*/HgDataFile(HgRepository hgRepo, Path filePath) {
75 super(hgRepo); 75 super(hgRepo);