# HG changeset patch # User Artem Tikhomirov # Date 1294977153 -3600 # Node ID 70dafe20931d8470a738d08ee53717bd65c65945 # Parent b79cf0118dd30579511952b5938170b78b2e7598 Clean inadequate comments diff -r b79cf0118dd3 -r 70dafe20931d src/com/tmate/hgkit/ll/HgBundle.java --- 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()); diff -r b79cf0118dd3 -r 70dafe20931d src/com/tmate/hgkit/ll/HgRepository.java --- 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() {