Mercurial > hg4j
changeset 45:70dafe20931d
Clean inadequate comments
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 14 Jan 2011 04:52:33 +0100 |
parents | b79cf0118dd3 |
children | 4022c34a4804 |
files | src/com/tmate/hgkit/ll/HgBundle.java src/com/tmate/hgkit/ll/HgRepository.java |
diffstat | 2 files changed, 0 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/com/tmate/hgkit/ll/HgBundle.java Fri Jan 14 04:43:16 2011 +0100 +++ b/src/com/tmate/hgkit/ll/HgBundle.java Fri Jan 14 04:52:33 2011 +0100 @@ -46,7 +46,6 @@ byte[] baseRevContent = hgRepo.getChangelog().content(base); for (GroupElement ge : changelogGroup) { byte[] csetContent = RevlogStream.apply(baseRevContent, -1, ge.patches); - // wiki suggests sha1_digest(min(p1,p2) ++ max(p1,p2) ++ final_text), dh = dh.sha1(ge.firstParent(), ge.secondParent(), csetContent); // XXX ge may give me access to byte[] content of nodeid directly, perhaps, I don't need DH to be friend of Nodeid? if (!ge.node().equalsTo(dh.asBinary())) { throw new IllegalStateException("Integrity check failed on " + bundleFile + ", node:" + ge.node());
--- a/src/com/tmate/hgkit/ll/HgRepository.java Fri Jan 14 04:43:16 2011 +0100 +++ b/src/com/tmate/hgkit/ll/HgRepository.java Fri Jan 14 04:52:33 2011 +0100 @@ -10,7 +10,6 @@ public abstract class HgRepository { public static final int TIP = -1; - // TODO NULLNODEID // temp aux marker method public static IllegalStateException notImplemented() {