Mercurial > jhg
comparison src/com/tmate/hgkit/ll/HgManifest.java @ 24:d4fdd1845b3f
Nodeid with array of exactly 20 bytes
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Thu, 06 Jan 2011 04:42:15 +0100 |
parents | e929cecae4e1 |
children | b2251b7a9823 |
comparison
equal
deleted
inserted
replaced
23:6f9aca1a97be | 24:d4fdd1845b3f |
---|---|
20 | 20 |
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 if (!gtg) { | 22 if (!gtg) { |
23 return; | 23 return; |
24 } | 24 } |
25 gtg = gtg && inspector.begin(revisionNumber, new Nodeid(nodeid)); | 25 gtg = gtg && inspector.begin(revisionNumber, new Nodeid(nodeid.clone())); |
26 int i; | 26 int i; |
27 String fname = null; | 27 String fname = null; |
28 String flags = null; | 28 String flags = null; |
29 Nodeid nid = null; | 29 Nodeid nid = null; |
30 for (i = 0; gtg && i < actualLen; i++) { | 30 for (i = 0; gtg && i < actualLen; i++) { |