Mercurial > hg4j
comparison src/com/tmate/hgkit/ll/HgManifest.java @ 21:e929cecae4e1
Refactor to move revlog content to base class
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Wed, 05 Jan 2011 04:10:28 +0100 |
parents | 11cfabe692b3 |
children | d4fdd1845b3f |
comparison
equal
deleted
inserted
replaced
20:11cfabe692b3 | 21:e929cecae4e1 |
---|---|
7 * | 7 * |
8 * @author artem | 8 * @author artem |
9 */ | 9 */ |
10 public class HgManifest extends Revlog { | 10 public class HgManifest extends Revlog { |
11 | 11 |
12 private final RevlogStream content; | |
13 | |
14 /*package-local*/ HgManifest(HgRepository hgRepo, RevlogStream content) { | 12 /*package-local*/ HgManifest(HgRepository hgRepo, RevlogStream content) { |
15 super(hgRepo); | 13 super(hgRepo, content); |
16 this.content = content; | |
17 } | 14 } |
18 | 15 |
19 public void walk(int start, int end, final Inspector inspector) { | 16 public void walk(int start, int end, final Inspector inspector) { |
20 Revlog.Inspector insp = new Revlog.Inspector() { | 17 Revlog.Inspector insp = new Revlog.Inspector() { |
21 | 18 |