Mercurial > jhg
diff src/com/tmate/hgkit/console/Cat.java @ 42:92c3d0920d58
Real integrity check, with exception. DigestHelper refactored to accomodate new needs
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 14 Jan 2011 04:29:03 +0100 |
parents | 571e1b2cc3f7 |
children | b771e94a4f7c |
line wrap: on
line diff
--- a/src/com/tmate/hgkit/console/Cat.java Fri Jan 14 04:14:08 2011 +0100 +++ b/src/com/tmate/hgkit/console/Cat.java Fri Jan 14 04:29:03 2011 +0100 @@ -43,7 +43,7 @@ byte[] parent1 = new byte[20]; byte[] parent2 = new byte[20]; fn.parents(i, parentRevisions, parent1, parent2); - System.out.println(dh.sha1(parent1, parent2, content)); + System.out.println(dh.sha1(parent1, parent2, content).asHexString()); } } else { System.out.println(">>>Not found!");