Mercurial > jhg
comparison cmdline/org/tmatesoft/hg/console/Main.java @ 424:6437d261048a
Deprecated code removed
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Wed, 28 Mar 2012 15:42:15 +0200 |
| parents | 9c9c442b5f2e |
| children | 48f993aa2f41 |
comparison
equal
deleted
inserted
replaced
| 423:9c9c442b5f2e | 424:6437d261048a |
|---|---|
| 493 | 493 |
| 494 private void dumpCompleteManifestLow() throws Exception { | 494 private void dumpCompleteManifestLow() throws Exception { |
| 495 hgRepo.getManifest().walk(0, TIP, new ManifestDump()); | 495 hgRepo.getManifest().walk(0, TIP, new ManifestDump()); |
| 496 } | 496 } |
| 497 | 497 |
| 498 public static final class ManifestDump implements HgManifest.Inspector2 { | 498 public static final class ManifestDump implements HgManifest.Inspector { |
| 499 public boolean begin(int manifestRevision, Nodeid nid, int changelogRevision) { | 499 public boolean begin(int manifestRevision, Nodeid nid, int changelogRevision) { |
| 500 System.out.printf("%d : %s\n", manifestRevision, nid); | 500 System.out.printf("%d : %s\n", manifestRevision, nid); |
| 501 return true; | 501 return true; |
| 502 } | 502 } |
| 503 | 503 |
| 504 public boolean next(Nodeid nid, String fname, String flags) { | |
| 505 throw new IllegalStateException(HgManifest.Inspector2.class.getName()); | |
| 506 } | |
| 507 public boolean next(Nodeid nid, Path fname, Flags flags) { | 504 public boolean next(Nodeid nid, Path fname, Flags flags) { |
| 508 System.out.println(nid + "\t" + fname + "\t\t" + flags); | 505 System.out.println(nid + "\t" + fname + "\t\t" + flags); |
| 509 return true; | 506 return true; |
| 510 } | 507 } |
| 511 | 508 |
