Mercurial > jhg
comparison src/org/tmatesoft/hg/repo/HgManifest.java @ 77:c677e1593919
Moved RevlogStream implementation into .internal
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Mon, 24 Jan 2011 05:33:47 +0100 |
parents | 6f1b88693d48 |
children | a3a2e5deb320 |
comparison
equal
deleted
inserted
replaced
76:658fa6b3a371 | 77:c677e1593919 |
---|---|
15 * contact TMate Software at support@svnkit.com | 15 * contact TMate Software at support@svnkit.com |
16 */ | 16 */ |
17 package org.tmatesoft.hg.repo; | 17 package org.tmatesoft.hg.repo; |
18 | 18 |
19 import org.tmatesoft.hg.core.Nodeid; | 19 import org.tmatesoft.hg.core.Nodeid; |
20 import org.tmatesoft.hg.internal.RevlogStream; | |
20 | 21 |
21 | 22 |
22 /** | 23 /** |
23 * | 24 * |
24 * @author Artem Tikhomirov | 25 * @author Artem Tikhomirov |
29 /*package-local*/ HgManifest(HgRepository hgRepo, RevlogStream content) { | 30 /*package-local*/ HgManifest(HgRepository hgRepo, RevlogStream content) { |
30 super(hgRepo, content); | 31 super(hgRepo, content); |
31 } | 32 } |
32 | 33 |
33 public void walk(int start, int end, final Inspector inspector) { | 34 public void walk(int start, int end, final Inspector inspector) { |
34 Revlog.Inspector insp = new Revlog.Inspector() { | 35 RevlogStream.Inspector insp = new RevlogStream.Inspector() { |
35 | 36 |
36 private boolean gtg = true; // good to go | 37 private boolean gtg = true; // good to go |
37 | 38 |
38 public void next(int revisionNumber, int actualLen, int baseRevision, int linkRevision, int parent1Revision, int parent2Revision, byte[] nodeid, byte[] data) { | 39 public void next(int revisionNumber, int actualLen, int baseRevision, int linkRevision, int parent1Revision, int parent2Revision, byte[] nodeid, byte[] data) { |
39 if (!gtg) { | 40 if (!gtg) { |