# HG changeset patch # User Artem Tikhomirov # Date 1294976596 -3600 # Node ID b79cf0118dd30579511952b5938170b78b2e7598 # Parent 1b26247d73670307a817e9495a71b2aa2aad61c1 Second array gone, comment follows diff -r 1b26247d7367 -r b79cf0118dd3 src/com/tmate/hgkit/ll/RevlogStream.java --- a/src/com/tmate/hgkit/ll/RevlogStream.java Fri Jan 14 04:41:05 2011 +0100 +++ b/src/com/tmate/hgkit/ll/RevlogStream.java Fri Jan 14 04:43:16 2011 +0100 @@ -284,7 +284,6 @@ // mpatch.c : apply() // FIXME need to implement patch merge (fold, combine, gather and discard from aforementioned mpatch.[c|py]), also see Revlog and Mercurial PDF - // FIXME why 2 arrays (rv and tempBuf)???. Think over in-place merging (perhaps some sparse byte chunk list?) - to minimize mem use. /*package-local for HgBundle; until moved to better place*/static byte[] apply(byte[] baseRevisionContent, int outcomeLen, List patch) { int last = 0, destIndex = 0; if (outcomeLen == -1) {