Mercurial > jhg
comparison cmdline/org/tmatesoft/hg/console/Main.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 | 26ad7827a62d |
comparison
equal
deleted
inserted
replaced
221:04735ce6bed2 | 222:373e07cd3991 |
---|---|
141 private void dumpCompleteManifestLow() { | 141 private void dumpCompleteManifestLow() { |
142 hgRepo.getManifest().walk(0, TIP, new ManifestDump()); | 142 hgRepo.getManifest().walk(0, TIP, new ManifestDump()); |
143 } | 143 } |
144 | 144 |
145 public static final class ManifestDump implements HgManifest.Inspector { | 145 public static final class ManifestDump implements HgManifest.Inspector { |
146 public boolean begin(int revision, Nodeid nid) { | 146 public boolean begin(int manifestRevision, Nodeid nid, int changelogRevision) { |
147 System.out.printf("%d : %s\n", revision, nid); | 147 System.out.printf("%d : %s\n", manifestRevision, nid); |
148 return true; | 148 return true; |
149 } | 149 } |
150 | 150 |
151 public boolean next(Nodeid nid, String fname, String flags) { | 151 public boolean next(Nodeid nid, String fname, String flags) { |
152 System.out.println(nid + "\t" + fname + "\t\t" + flags); | 152 System.out.println(nid + "\t" + fname + "\t\t" + flags); |