Mercurial > jhg
comparison src/com/tmate/hgkit/ll/HgManifest.java @ 16:254078595653
Print manifest nodeid
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Mon, 27 Dec 2010 01:00:53 +0100 |
| parents | df8c67f3006a |
| children | 40532cdc92fc |
comparison
equal
deleted
inserted
replaced
| 15:865bf07f381f | 16:254078595653 |
|---|---|
| 17 } | 17 } |
| 18 | 18 |
| 19 public void dump() { | 19 public void dump() { |
| 20 Revlog.Inspector insp = new Revlog.Inspector() { | 20 Revlog.Inspector insp = new Revlog.Inspector() { |
| 21 public void next(int revisionNumber, int actualLen, int baseRevision, int linkRevision, int parent1Revision, int parent2Revision, byte[] nodeid, byte[] data) { | 21 public void next(int revisionNumber, int actualLen, int baseRevision, int linkRevision, int parent1Revision, int parent2Revision, byte[] nodeid, byte[] data) { |
| 22 System.out.println(revisionNumber); | 22 System.out.printf("%d : %s\n", revisionNumber, new Nodeid(nodeid)); |
| 23 int i; | 23 int i; |
| 24 String fname = null; | 24 String fname = null; |
| 25 String flags = null; | 25 String flags = null; |
| 26 Nodeid nid = null; | 26 Nodeid nid = null; |
| 27 for (i = 0; i < actualLen; i++) { | 27 for (i = 0; i < actualLen; i++) { |
