Mercurial > jhg
diff src/org/tmatesoft/hg/repo/HgManifest.java @ 222:373e07cd3991
Due to discrepancy in manifest and changelor indexes, wrong manifest revisions got cached and compared
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 19 May 2011 05:02:07 +0200 |
parents | 8de327242aa0 |
children | b7347daa50e3 |
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/HgManifest.java Thu May 19 04:45:52 2011 +0200 +++ b/src/org/tmatesoft/hg/repo/HgManifest.java Thu May 19 05:02:07 2011 +0200 @@ -69,9 +69,9 @@ } public interface Inspector { - boolean begin(int revision, Nodeid nid); + boolean begin(int mainfestRevision, Nodeid nid, int changelogRevision); boolean next(Nodeid nid, String fname, String flags); - boolean end(int revision); + boolean end(int manifestRevision); } private static class ManifestParser implements RevlogStream.Inspector { @@ -94,7 +94,7 @@ return; } try { - gtg = gtg && inspector.begin(revisionNumber, new Nodeid(nodeid, true)); + gtg = gtg && inspector.begin(revisionNumber, new Nodeid(nodeid, true), linkRevision); int i; String fname = null; String flags = null;